Re: [xsl] Count elements A up to any element B in an axis

Subject: Re: [xsl] Count elements A up to any element B in an axis
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 30 Nov 2010 17:14:13 +0000
On 30/11/2010 17:09, Lars Huttar wrote:
count(
   ancestor-or-self::A except ancestor-or-self::B[1]/ancestor::A
      )


or <xsl:number level="any" from="B" count="A"/>




________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread