RE: position() of the parent

Subject: RE: position() of the parent
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 20 Jan 2000 17:09:00 -0000
> Worked great! But just for my curiosity, is there any way to 
> find the position() of the parent?

position() returns the position of the current node in the current node
list. The parent of the current node is not generally a member of the
current node list, therefore it does not have a position(). In fact, it is
meaningless to talk of the position() of any node other than the current
node. What you could determine is its <xsl:number>, which is not the same
thing at all.

Mike Kay

 XSL-List info and archive:

Current Thread