You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Michael D. Crawford" <cr...@goingware.com> on 2001/02/06 19:45:34 UTC

Re: parsing big XML file using DOM

  Have you looked into using SAX at all?  I think SAX may be a better 
alternative
for you.  You'd have to build your own structure in memory, but only the 
items you
actually needed would be created.

DOM is great for when you need a faithful representation of the original 
file,
SAX is great for when you need just parts of it and maybe having the 
whole file
would be too big.

Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com/
crawford@goingware.com

  Tilting at Windmills for a Better Tomorrow.