Re: [Xsltforms-support] repeat table cells
Brought to you by:
alain-couthures
From: <ala...@ag...> - 2009-12-14 21:22:30
|
Hello Chris, xf:repeat doesn't add HTML elements by itself but you can specify any element inside, even TR and TD with XSLTForms (XForms specification considers it's not possible so attributes have to be used but there is no good reason for such a limitation). Thank you for testing XSLTForms! -Alain 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 ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support |