Re: SAX: Attributes and Entity Resolution

David Ornstein (davido@pragmaticainc.com)
Sun, 04 Jan 1998 15:31:19 -0800


David Megginson wrote [02:45 PM 1/4/98 ]:

>ATTRIBUTES
>----------
>
>The alternative is to return to what I had originally done with
>=C6lfred, and generate a separate event for each attribute:
>
> public void attribute (String elementName, String aname, String value);

I assume that this approach mandates that the Client accumulate these and
then use them when the element comes along. Yick. It's OK, but not great.
I'd rather the interface. I don't much buy the argument that adding
another interface (or even two more) will lead us straight to DOM.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
David Ornstein
Pragmatica, Inc.
http://www.pragmaticainc.com