Re: Implementing a multi-column list
Dave Pawson <[email protected]> Tue, 03 Dec 2002 18:08:47 +0000
| Newsgroups | gmane.text.xml.xsl.general |
|---|---|
| Message-ID | <[email protected]> |
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