[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 20/12/2010 15:06, James Cummings wrote:
well that's syntactically correct but since position() is a different number (starting at 1 and going up by 1) for each item in the sequence, it won't actually group anything,
what did you actually want to group on?
David
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
Re: [xsl] grouping across a collection()
Subject: Re: [xsl] grouping across a collection() From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 20 Dec 2010 16:02:37 +0000 |
On 20/12/2010 15:06, James Cummings wrote:
<xsl:for-each-group select="$docs//tei:l" group-by="position()">
well that's syntactically correct but since position() is a different number (starting at 1 and going up by 1) for each item in the sequence, it won't actually group anything,
what did you actually want to group on?
David
________________________________________________________________________ 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] grouping across a collection(, James Cummings | Thread | Re: [xsl] grouping across a collect, James Cummings |
[xsl] grouping across a collection(, James Cummings | Date | Re: [xsl] grouping across a collect, Michael Kay |
Month |