Subject: Re: [xsl] How to speed up parsing ?? From: "Simon Bretin" <simon@xxxxxxxxxxxxxxxx> Date: Thu, 31 Jul 2003 10:00:02 +0200 |
Hello, My understanding is that most of the XSLT Engines are using internal DOM representation of your XML data, thus taking a lot of time compared to a SAX representation. So the bigger the XML file, the bigger the DOM, and the longer it takes to be built. Once the DOM is built I think that the regular XSLT Engines are quite efficient doing their jobs. The solution would be to use a SAX XSLT Engine (if your XSL is simple enough this should work), but I don't know of any engine having such a mode. Simon. ----- Original Message ----- From: "Dipesh Khakhkhar" <dkhakhkh@xxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, July 31, 2003 1:15 AM Subject: [xsl] How to speed up parsing ?? > Hi, > > I would like to know how can i speed up parsing xml file. > I am having huge xml file (approx 30-50 MB). I have written xsl to get text > out it. I am getting it properly but it is taking lotta time. > > I have used "apply templates " frequently to go to the respective node. As per > my knowledge "for-each" and "apply-templates" does the same thing and i assume > internally they must be working alike. WILL THERE BE SPEED ENHANCEMENT IF I > USE FOR-EACH INSTEAD OF USING APPLY_TEMPLATES. > > Or if you do programatically the same thing will i be achieving speed > enhancement ?? > > My current xsl is drastically slow. Pls give me some hints and suggestion to > enhance performance of my xsl processing. > > Eagerly waiting for reply. > > Regards, > Dipesh > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to speed up parsing ??, Dipesh Khakhkhar | Thread | RE: [xsl] How to speed up parsing ?, Rod Humphris - FLPTN |
RE: RE: [xsl] Xml to xml conversion, Andrew Welch | Date | RE: [xsl] Problem Dynamically setti, Andrew Welch |
Month |