xpath: getting position of current node

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Drake23
    New Member
    • Sep 2005
    • 1

    #1

    xpath: getting position of current node

    Hi,
    I need your help! I have to appoint the position of the current node in an nodelist. the nodelist I defined in a variable with:

    Code:
    <xsl:variable name="CN" select="self::node()/parent::node()/child::node()" />
    now I have to get the position of the current node in $CN

    can someone help me, please?
    Last edited by Dormilich; Jan 9 '09, 06:58 AM. Reason: added [code] tags
Working...