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: Get parent's node position - Urgent


> Ok Mike, thanks a lot. Excellent!!!
> And what I would make to get a position of grand-parent??
> 
select="count(parent::*/parent::*/preceding-sibling::*)"

of course.

Or you can abbreviate parent::* to ".."

Mike Kay 

 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]