Subject: Re: [xsl] Count elements A up to any element B in an axis From: "Christian Roth" <roth@xxxxxxxxxxxxxx> Date: Tue, 30 Nov 2010 18:19:02 +0100 |
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...? -Christian
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Count elements A up to an, Christian Roth | Thread | Re: [xsl] Count elements A up to an, David Carlisle |
Re: [xsl] xslt test automation, Philip Fearon | Date | Re: [xsl] Count elements A up to an, David Carlisle |
Month |