On Wed, Nov 05, 2008 at 05:22:58PM -0800, Prashant R wrote: > My question is that , given this scenario , does xmlreader still save me > memory ,compared to DOM ( in terms of storage allocated for parsing xml) as > bytes from the stream would need to still > be cached to decipher node information.
DOM builds the full tree in memory. The reader building one a fraction of the tree in memory at a given time. The reader should save memory. Testing should confirm this. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ [EMAIL PROTECTED] | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
