This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

position of non actual element


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]