RE: [xsl] position of an element

Subject: RE: [xsl] position of an element
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 25 May 2001 13:16:28 +0100
> <template match="content">
> 	<xsl:value-of 
> select="position-of-this-element-in-the-document()" />
> </template>
> 

You can use xsl:number, or count(preceding-sibling::*)+1

Mike Kay
Software AG

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


Current Thread