This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: outputting the "position()" of parent




> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]