Depends what you mean by "position". I'll hazard a guess that you mean
count(../preceding-sibling::*)+1
Michael Kay
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Lionel Crine
Sent: 01 October 2003 10:35
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] [position node] I to get it.
Hello,
Id' like to get the position of the parent node of the context node :
For example :
<dmref>
<dmidref> --> from here I need the position of dmref
<dmidref>
Is it possible ?
Lionel
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list