This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: DOM and XPath slows down the application
- From: "Sam Kern" <sam dot kern at home dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 17 Dec 2001 17:10:38 -0500
- Subject: RE: [xsl] DOM and XPath slows down the application
- Reply-to: xsl-list at lists dot mulberrytech dot com
Use SAX. It won't load the whole XML file into the DOM model.
And SAX is more fun!
Sam Kern
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of Khurram
Chaudhry
Sent: Monday, December 17, 2001 3:50 PM
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] DOM and XPath slows down the application
I am working on an application using XPath and DOM to
perform certain queries on an XML file.
Though it seems to work fine
but as the size of the xml file grows the application
gets slower and slower, till the time that it actuallt
freezes once the file is around 2MB.
Do you ppl think that its a limitation of DOM and I
should have not considered DOM or XPath for such an
application or is there a way around?
Thanx in advance
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list