[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: grouping across a collection()
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. -James
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|