[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] displaying a list in a multi-column table


Subject: Re: [xsl] displaying a list in a multi-column table
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 25 Jan 2008 15:03:51 +0000

On 25/01/2008, John Snelson <john.snelson@xxxxxxxxxx> wrote:
> Andrew Welch wrote:
> > On 25/01/2008, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> >> If the data is to be in columns, then I think it needs to be
> >>
> >> <xsl:for-each-group select="word" group-by="position() mod (last() idiv 4)">
> >
> > Doesn't that still break the alphabetical ordering...?
>
> The idea is that alphabetical ordering is maintained down columns,
> rather than across rows.

Ah haa, of course... in my mind positions 1, 2, 3 etc should all be in
the first <tr>, instead of the first <td> within each <tr>.





-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Current Thread