This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
complex line needs to be quicker
- To: <XSL-List at mulberrytech dot com>
- Subject: complex line needs to be quicker
- From: "Steve Brown" <prospect at flex dot com dot au>
- Date: Wed, 26 Jul 2000 09:52:00 +1000
- Reply-To: xsl-list at mulberrytech dot com
Hi,
we have a few rather complex lines of XSL that are causing the output to
slow right down to a crawl. They are all in the same vein as the one shown
below. Short of changing the shape of the XML is there anyway to improve
the performance on the following line:
<xsl:value-of select="/report/paymentTypes/paymentType[@id =
/report/paymentMethods/paymentMethod[@id =
current()/@paymentMethod]/@paymentTypeRef]/@bankable"/>
Thanks,
Steve.
PS XML looks a bit like..
<report>
<data>
<paymentMethods>
<paymentMethod .../>
</paymentMethods>
<paymentTypes>
<paymentType .../>
</paymentTypes>
</report>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list