RE: [xsl] Get parent's node position - Urgent

Subject: RE: [xsl] Get parent's node position - Urgent
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 26 Sep 2001 21:28:05 +0100
> 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


Current Thread