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]
Other format: [Raw text]

Re: variable going out of scope in a for-each loop? - at last!


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


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