Oxygen XML Editor
 
[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: 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
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor