Subject: Re: variable going out of scope in a for-each loop? - at last!
From: Eric Smith <Eric.Smith@xxxxxxxxxxxx>
Date: Mon, 10 Dec 2001 21:32:13 +0100
|
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
|