RE: [xsl] finding position() of an element in a different context

Subject: RE: [xsl] finding position() of an element in a different context
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 25 Apr 2001 17:06:51 +0100
> But how do I find the position of that form within all <form>
> elements?

count(preceding-sibling::form)+1

Mike Kay
Software AG

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


Current Thread