[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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. ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|