Re: [Xsltforms-support] is it possible to repeat table columns? (<xf:repeat ...> <td>)
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2011-02-01 20:21:28
|
Hello Mathias, > Is there a way to repeat table columns? > > It seems that repeating table rows puts the repeat classes into the > table and tr, whereas the repeat before the td generates two div, > destroying the table. > > e.g. this snippet: > > <table> > <xf:repeat nodeset="course"> > <tr> > <xf:repeat nodeset="country"> > <td> > > generates this (copied from firebug): > > <table id="xf-repeat-1" class=" xforms-repeat"> > <tbody class=" xforms-repeat-item-selected"> > <tr class="xforms-repeat-item"> > <div id="xf-repeat-2" class=" xforms-repeat"> > <div class="xforms-repeat-item xforms-repeat-item-selected"> > <td> > > > Any chance to repeat the td properly? Repeating both lines and columns implies using the same tr element as an item for the first repeat and as a the main element for the second repeat. I have treated this situation as an exception in the latest commit (SVN and git). Thank you for your feedbacks! -Alain |