[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] count of preceding siblings and their childs
Subject: RE: [xsl] count of preceding siblings and their childs
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 2 Feb 2008 18:35:49 -0000
|
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?
|