[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to speed up parsing ??

Subject: Re: How to speed up parsing ??
From: "Simon Bretin" <simon@xxxxxxxxxxxxxxxx>
Date: Thu, 31 Jul 2003 10:00:02 +0200
speed up xml
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.