Reply to: present an xml fragment in a table formatJune 30, 2009 at 7:16 pm
Just to be clear (sounds like there is still confusion), XMetaL automatically recognizes HTML and CALS tables and will render them as tables. Anything else will not render as a table unless you specifically set the CSS up to do so.
The example CSS I gave should approximate the example styling you asked for, and would not be a table:
x | abcd | 1234 | y
To style something as a table requires three elements: one representing the table, one the row (child of table) and at least one for cells (child of row). You can then use the CSS display properties: “table”, “table-row” and “table-cell” to designate the elements to render as a table. Your elements do not seem to fit this model however, unless “SUB2” is a child of “SUB1”.