[
Lists Home |
Date Index |
Thread Index
]
- From: Paul Miller <stele@fxtech.com>
- To: xml-dev <xml-dev@ic.ac.uk>
- Date: Mon, 06 Dec 1999 09:10:42 -0500
> We tried to keep SAX 1.0 as simple as possible -- how would you
> simplify the following further?
>
> public void startElement (String name, AttributeList atts)
> {
> // do something!!
> }
Here is where I have the problem. This leaves an awful lot up to the
application, still, including handling the proper nesting. I would like
to make the actual parsing of elements more "automatic", so when a
certain element is hit, it calls a function with my object pointer where
I can pick up the parsing from there, then drop back out to the
enclosing XML scope and keep going.
Perhaps what I want to do should be built on SAX instead of expat,
though.
--
Paul Miller - stele@fxtech.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|