complex line needs to be quicker

Subject: complex line needs to be quicker
From: "Steve Brown" <prospect@xxxxxxxxxxx>
Date: Wed, 26 Jul 2000 09:52:00 +1000
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


Current Thread