nestable C/C++ XML parser?

Paul Miller stele at
Tue Dec 7 16:38:39 GMT 1999

I'm trying to develop a tag-based front-end to expat and having no luck.
I'd like to be able to parse an XML document in nestable chunks, by
calling into a nestable parser. In other words, I'd like to start
parsing, then branch to a function to handle a specific element, parsing
in there until that element is closed, then fall back out of the
function to continue parsing the rest of the document.

Something like this:

ParseDocument (call HandleFoo when Foo element is found)

		// do something with Foo stuff here


Has anyone seen such a beast?

Paul Miller - stele 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