SAXHandler issue?

Michael Rueger m.rueger at acm.org
Tue May 20 11:52:14 UTC 2003


Chris Pettitt wrote:

>
> Unfortunately, I need to use SAX because I will be eventually streaming
> from a socket and need to process the XML as one long stream. The DOM
> API requires the entire document to be loaded up front so that it can
> create an in memory representation.

All you need to do is to implement your own subclass of SAXHandler. You 
can see how the DOM parser does that :-)

Michael




More information about the Squeak-dev mailing list