xsl-list
[Top] [All Lists]

Re: Finding the position of a node within a subset of nodes

2003-02-27 07:36:47
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



<Prev in Thread] Current Thread [Next in Thread>