This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: variable going out of scope in a for-each loop? - at last!
- From: Eric Smith <Eric dot Smith at fruitcom dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 10 Dec 2001 21:32:13 +0100
- Subject: Re: [xsl] variable going out of scope in a for-each loop? - at last!
- References: <0E436C278A0AD511A3BE00B0D06896FC5F6115@CLAVIN>
- Reply-to: xsl-list at lists dot mulberrytech dot com
According to Nate Austin on Mon, Dec 10, 2001 at 10:17:19AM -0600:
> Eric -
>
> If it's always the last two nodes that you want to multiply, then it's
> pretty straight forward:
>
> <xsl:value-of select="cell[last()-1] * cell[last()]"/>
>
water in the desert
:)
--
Eric Smith - currently using xalan and xsltproc - what a difference speed makes - and fop on linux
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list