OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   nestable C/C++ XML parser?

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Miller <stele@fxtech.com>
  • Date: Tue, 07 Dec 1999 11:39:31 -0500

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@fxtech.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS