W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2002

Re: Implementing a multi-column list

From: Dave Pawson <dpawson@nildram.co.uk>
Date: Tue, 03 Dec 2002 18:08:47 +0000
Message-Id: <5.1.0.14.2.20021203180750.00adf858@127.0.0.1>
To: "Cindy Hunt" <Cindy.Hunt@sas.com>, <www-xsl-fo@w3.org>

At 11:25 03/12/2002 -0500, Cindy Hunt wrote:

>Hi-
>
>I wanted to see if anyone has done something similar to this and offer 
>implementation suggestions. In our DTD, we have a list type that allows 
>the user to specify the number of columns that they would like the list to 
>format in via an attribute on the list element. The list then contains a 
>series of 2 or more items that are just PCDATA.
>
>Basically, I need to count the number of items in the list and divide it 
>by the number of columns they specified. The items should then fill each 
>column from top to bottom and then any remainders would be placed in the 
>last column.


Hi Cindy.

Been done in XSLT for html output, just needs the transition to xsl-fo.
See tables in the XSLT faq.

HTH DaveP
Received on Tuesday, 3 December 2002 13:10:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT