W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2001

Re: for-each question

From: Dave Pawson <daveP@dpawson.freeserve.co.uk>
Date: Thu, 15 Mar 2001 19:02:31 +0000
Message-Id: <5.0.2.1.2.20010315190147.00a9ba20@127.0.0.1>
To: <www-xsl-fo@w3.org>
At 01:45 PM 3/15/01, Kevin Fricovsky wrote:
>If I have an HTML table with 3 columns, and I want to loop through my source
>document(xsl:for-each), creating a NEW <tr> for every 4th element. I was
>attempting to use the theory behind <xsl:when test="managers[position() mod
>2 = 1]"> BUT it's failing.
>
>Any tips for a newbie???
>
>Quick desired "look" of HTML:
>
>1       2       3
>4       5       6
>7       8       9
>10      11
>
>
>This is an example of what the source doc would look like.


There are examples in faq (www.dpawson.co.uk)
under grouping IIRC

HTH DaveP
Received on Thursday, 15 March 2001 14:02:24 GMT

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