RE: [xsl] [position node] I to get it.

Subject: RE: [xsl] [position node] I to get it.
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 1 Oct 2003 12:56:14 +0300
Hi,

> 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>

Position in relation to what? If in relation to sibling dmrefs, then

  count(../preceding-sibling::dmref) + 1

Cheers,

Jarno - Front Line Assembly: Plasticity (Dope Experience by D Myer)

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


Current Thread