xsl-list
[Top] [All Lists]

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

2008-01-25 08:11:05
Works perfectly! Nice and clean. Thank you very much.

On Jan 25, 2008 10:03 AM, Andrew Welch 
<andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
On 25/01/2008, John Snelson <john(_dot_)snelson(_at_)oracle(_dot_)com> wrote:
Andrew Welch wrote:
On 25/01/2008, Michael Kay <mike(_at_)saxonica(_dot_)com> 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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--