Re: [xsl] count of preceding siblings and their childs

Subject: Re: [xsl] count of preceding siblings and their childs
From: Mansour <mansour77@xxxxxxxxx>
Date: Sat, 02 Feb 2008 17:52:59 -0400
Thank you Mike, that did the trick.


Michael Kay wrote:
count(preceding-sibling::*/descendant-or-self::*)

That's assuming you only want to count elements.

Michael Kay
http://www.saxonica.com/


How do I count the number of all the preceding siblings and their descendants?

Current Thread