nestable C/C++ XML parser?

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

	HandleFoo()
		ParseFoo
		// do something with Foo stuff here

FinishParseDocument

Has anyone seen such a beast?

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