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

Re: Optimizing XSLT iteration

Subject: Re: Optimizing XSLT iteration
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 7 Oct 2007 23:44:28 +0100
Re:  Optimizing XSLT iteration
> XSLT profiler shows that 80% of the time is spent in enumerating the
> "locus" elements?
> 
> 
> Is there a way to faster iteration of the "locus" elements?

I doubt there is much you can do within xslt, since your example program
is essentially doing nothing other than iterating through the locus
elements (and outputtig the string value if a few attributes) I wouldn't
have been surprised if greater than 80% of the time is in that
enumeration.

externally to xslt there may be things you can do, saxon works with
several different XML models, but some are faster than others so if your
input is built by saxon to its native tiny tree model things may be
faster than when you give saxon a DM.

see for example

http://saxonica.blogharbor.com/blog/_archives/2007/3/31/2848654.html


So if speed is an issue, you may want to look to how your input tree is
built...

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

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.