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:25:35 +0000 |
I'm so glad I included the "Is this a correct..." part in my original post :-/
New try, thanks to the great replies from Lars and David:
count( ancestor-or-self::A[ .>> current()/ancestor::node()[self::B or self::document-node()][1] ] )
Am I getting closer with this...?
________________________________________________________________________ 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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Count elements A up to an, Christian Roth | Thread | [xsl] Catch output of XSL identity , becarios mx |
Re: [xsl] Count elements A up to an, David Carlisle | Date | [xsl] Catch output of XSL identity , becarios mx |
Month |