Re: for-each question

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 UTC