Tables Again

Subject: Tables Again
From: John Kohler <jkohler@xxxxxxxxx>
Date: Wed, 5 May 1999 08:54:06 -0600
We have a document like this:
<doc>
  <data value="AA"/>  <data value="BB"/>
  <data value="CC"/>  <data value="DD"/>  
  <data value="EE"/>  <data value="FF"/>  
  <data value="GG"/>  <data value="HH"/>  
  <data value="II"/>  <data value="JJ"/>  
  <data value="KK"/>  <data value="LL"/>
</doc>

What we want is to put the data values into
an n by m HTML table with n being a hardcoded 
constant and m being driven by the data:

<table>
 <tr><td>AA</td><td>BB</td><td>CC<td></tr>
 <tr><td>DD</td><td>EE</td><td>FF<td></tr>
 <tr><td>GG</td><td>HH</td><td>II<td></tr>
 <tr><td>JJ</td><td>KK</td><td>KK<td></tr>
</table>

We've tried about every permutation possible
but haven't come up with the right one yet.

Any help or example would be greatly appreciated.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread