This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: referring to previous elements
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] referring to previous elements
- From: Senthilkumar Arunachalam <senthilkumar dot arunachalam at adcc dot alcatel dot be>
- Date: Thu, 06 Sep 2001 12:33:30 +0530
- Organization: Alcatel
- References: <98C7D2E5BCD2374C9AAE0BCD2E9C1DD9075B47@esebe013.NOE.Nokia.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
But i need this to be done more generic and not only for adq1 and adq2.
i need to do this for all the current element and previous elements.
like "adq[n] and adq[n-1]".
Senthil.
Jarno.Elovirta@nokia.com wrote:
> <xsl:variable name="prev" select="preceding::adq[1]" />
>
> Jarno
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list