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

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


Paul Miller <stele at fxtech.com> 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

-- 
David Megginson                 david at megginson.com
           http://www.megginson.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