Re: outputting the "position()" of parent

Subject: Re: outputting the "position()" of parent
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 7 Jun 2000 22:10:46 +0100 (BST)

> How do I output the posistion of the parent. 
nodes don't have a position generally defined, they just have a position
in whatever node list was selected for the current processing.

so if for example you go apply-templates select=".." you will select
your parent but teh position will always be one as there is only one
node in the node list selected by  ..

probably you want to use xsl:number

David


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


Current Thread