This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: complex line needs to be quicker
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: complex line needs to be quicker
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 26 Jul 2000 09:05:11 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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"/>
>
[MHK>] This looks very much like a case for id() or key().
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list