[Xsltforms-support] repeat table cells
Brought to you by:
alain-couthures
|
From: Christopher D. <cd...@vi...> - 2009-12-14 16:19:06
|
I noticed there is a way to create a repeat inside an HTML table creating a number of rows within a table. Is there a way to repeat within a row to create table cells (<td>)?
I would like to create a grid. For example:
<table>
<tbody>
<xf:repeat nodeset="rows/row"> <!-- CREATES TR -->
<xf:repeat nodeset="../../columndata/data[@rowId = current()/@id]"> <!-- CREATES TD -->
<xf:input ref="value" />
</xf:repeat>
</xf:repeat>
</tbody>
</table>
Thanks,
Chris
|