[Xsltforms-support] Weird behavior with xf:repeat and HTML table headers
Brought to you by:
alain-couthures
From: Florent G. <li...@fg...> - 2012-08-28 20:56:06
|
Hi, With the example at the end of this email, I expect to get something like the following in the browser: Thing Un Deux Trois Quatre but I get instead the following: Thing Deux Thing Thing That is, the table header line replaces all regular lines, except the second one (and see, there is not 1 + 4 lines, but only 4). I've tested it with both Chrome and Safari on Mac OS X 10.6.8. The stylehseet xsltforms.xsl says: <dcterms:hasVersion>1.0RC</dcterms:hasVersion> <dcterms:created>2012-03-18</dcterms:created> I have no idea how to debug any farther. Any idea? Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> <htmlxmlns:xf="http://www.w3.org/2002/xforms"> <head> <title>Test</title> <xf:model> <xf:instanceid="docs"> <thingsxmlns=""> <thing>Un</thing> <thing>Deux</thing> <thing>Trois</thing> <thing>Quatre</thing> </things> </xf:instance> </xf:model> </head> <body> <table> <tr> <th>Thing</th> </tr> <xf:repeatnodeset="/things/*"> <tr> <td> <xf:outputref="."/> </td> </tr> </xf:repeat> </table> </body> </html> |