This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
position of non actual element
- From: "Rudolf Pischek" <rudolf dot pischek at asei dot cz>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Wed, 27 Feb 2002 07:35:45 +0100
- Subject: [xsl] position of non actual element
- Reply-to: xsl-list at lists dot mulberrytech dot com
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