RE: Find position among siblings {Re: [xsl] Applying template conditionally}

Subject: RE: Find position among siblings {Re: [xsl] Applying template conditionally}
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sun, 29 Apr 2001 21:27:49 +0100
> The key problem I have is: how to find the position of
> an element among its siblings?

As several people said last time this was asked,

count(preceding-sibling::*) + 1

Mike Kay
Software AG
> 

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


Current Thread