RE: [xsl] XPath question

Subject: RE: [xsl] XPath question
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 3 Feb 2003 23:41:46 -0000
> I have struggled in vain today to 
> come up with an XPath expression which would tell me how many 
> elements are on the preceding-sibling axis of the parent of a 
> given node. Can anyone straighten me out on this?
> 

count(../preceding-sibling::node())

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread