Re: [xsl] Finding the position of a node within a subset of nodes

Subject: Re: [xsl] Finding the position of a node within a subset of nodes
From: "Myriam Delperier" <myriam.delperier@xxxxxxxxx>
Date: Thu, 27 Feb 2003 15:36:47 +0100
and instructions, I was just doing this:
>
> <xsl:template match="questions">
>  <xsl:variable name="section" select="position()"/>
>
maybe you can try
<xsl:variable name="section" select="count(preceding-sibling::questions) +
1"/>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread