xsl-list
[Top] [All Lists]

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

2008-01-25 07:55:39
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.

John

--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:        http://www.oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.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>
--~--