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

Re: Regarding XSL performance on AIX

Subject: Re: Regarding XSL performance on AIX
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 22 May 2002 15:19:39 +0100
Re:  Regarding XSL performance on AIX

> Is it possible to still further fine tune my XSL?(


You do an awful lot of

   <xsl:param name = "j"/>
 ....NODE2[$j]/NODE3

this means you are repeatedly searching for all the NODE2 children to
find the j'th. I didn't follow all the logic of your code but it looks
like instead of the j parameter you could pass in the Node itself and
so the above would become

   <xsl:param name = "jthnode"/>
 .... $jthnode/NODE3


Similarly

   <xsl:variable name = "count2" select = "count(NODE2[$j]/NODE3) "/>
...
  <xsl:when test="($count2 &gt; 0)"> 

forces the system to count all the nodes, whereas if you had gone

  <xsl:when test="NODE2[$j]/NODE3">

then the system would only need to check that at least one such node
existed.

  <img src="\pricing\images\treePics\downarrow.gif"

should be

  <img src="/pricing/images/treePics/downarrow.gif"

to be a valid URI (not that that would speed anything up:-)


David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 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.