[Home] [By Thread] [By Date] [Recent Entries]

  • From: Paul Miller <stele@f...>
  • 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@f...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member