nestable C/C++ XML parser?

Toby Speight Toby.Speight at
Tue Dec 7 17:25:35 GMT 1999

Lars> Lars Marius Garshol <URL:mailto:larsga at>

0> In article <m37liqad77.fsf at>, Lars wrote:

Lars> The only application I see for this sort of thing is to be able
Lars> to work around XML syntax rules,

I see a demand for parsing a document with SAX, but using some
start-tags to switch to building DOM (or DOM-like) objects, returning
to stream-oriented processing afterwards.  Perhaps you have a large
"set" or "list", and you know that the members of that collection can
be processed independently - why waste memory on a complete DOM for

Lars> but once you do that your document is no longer an XML document
Lars> and you shouldn't pretend that it is, not even to yourself.

This bit I agree with.


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