This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Find position among siblings {Re: Applying template conditionally}
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: Find position among siblings {Re: [xsl] Applying template conditionally}
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Sun, 29 Apr 2001 21:27:49 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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