This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: DOM and XPath slows down the application


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]