Re: [xsl] grouping across a collection()

Subject: Re: [xsl] grouping across a collection()
From: James Cummings <james@xxxxxxxxxxxxxxxxx>
Date: Mon, 20 Dec 2010 16:16:32 +0000
On Mon, Dec 20, 2010 at 16:02, David Carlisle <davidc@xxxxxxxxx> wrote:
> 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?

I guess what I wanted to group on was their relative position in that
sequence with respect to the document from which they originate. So
all first lines from each document are grouped together and all second
lines are in the second table row, etc.


Current Thread