This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

complex line needs to be quicker


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]