simple XML for C++ application data-file I/O
Paul Miller
stele at fxtech.com
Mon Dec 6 14:11:43 GMT 1999
> 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 at fxtech.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list