xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Becker <tbec...@pironet.com>
Subject Re: Skipping the DTD
Date Thu, 11 Nov 1999 15:16:34 GMT
 
> I'm using the DOM parser, not SAX. Using SAX seems much more awkward
> than using DOM. Why would I want to use SAX?

To save system-resources. When you're using SAX you only have to listen
to the events that interest you.
If you're using DOM, you have to wait until the entire DOM-Tree is
returned by the parser AND keep the tree in memory. 

	-Tim


--
PIRONET  AG
Tim Becker  - Junior Consultant - SBU Software
Im Mediapark 5 - 50670 Cologne - Germany
Tel.: +49 (0)221 454 3976 - Fax: +49 (0)221 454 3710 
mailto:tbecker@piro.net - http://www.pironet.com

Mime
View raw message