[xsl] position of non actual element

Subject: [xsl] position of non actual element
From: "Rudolf Pischek" <rudolf.pischek@xxxxxxx>
Date: Wed, 27 Feb 2002 07:35:45 +0100
Hi,
I'm having problem with position().
I need position of node which is not tested now, eg.
<data>
  <value attr="first">...</value>
  <value attr="second">...</value>
</data>

<!--xsl:value-of select="position(data/value[@attr = 'second'])"/-->
of course this cannot run :-))
I don't know how I make this. I want know the position of element 'value'
which has an attribute 'second'.

Thanks

Rudolf Pischek




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


Current Thread