simple XML for C++ application data-file I/O

David Megginson david at
Mon Dec 6 15:55:26 GMT 1999

Paul Miller <stele at> writes:

> 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.

If you're using Java, then there are already some higher-level
toolkits for this sort of thing -- you might want to take a look at
SAXON, which is built on top of SAX.

> Perhaps what I want to do should be built on SAX instead of expat,
> though.

That will make sense once we have a common SAX C++ interface for
expat, libxml, rxp, xml4c++, and any other C-/C++-based XML parsers.
We're not there yet, though.

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list