![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
I have the following xmlsetup for a tablecell in xtable (plus other appropiate definitions): \startxmlsetups xmlcommon:td \startxcell[\doifnot{\xmlatt{#1}{width}}{\empty}{width={\xmlatt{#1}{width}}},] \xmlflush{#1} \stopxcell \stopxmlsetups and the following table: <table> <tr> <td> One </td> <td width="8cm"> Two </td> </tr> <tr> <td> <b>Three</b> </td> <td width="8cm"> Four </td> </tr> </table> Why isn't the width setting on the cells not honoured and is the following message appearing in the log: check > missing or ungrouped '=' after '\doifnot {8cm}{}{width={8cm}}' Also I tried \expanded{startxcell..} but it made no difference. Neither does width={\xmlatt{#1}{width}} because the a broad setting results instead of a cell 8cm wide. How can I then accomplish the following parameter scheme? on <td width="dimension"> the \startcellx[ takes width=dimension, on <td> the \startcellx does not take a width-paarameter. Hans van der Meer
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
I have the following xmlsetup for a table and tablecell in xtable (plus other appropiate definitions): \startxmlsetups xmlcommon:table \startembeddedxtable[background=color,backgroundcolor=\xmlatt{#1}{bgcolor}] .. \startxmlsetups xmlcommon:td \startxcell[backgroundcolor=\xmlatt{#1}{bgcolor},] .. \stopxmlsetups and the following table: <table bgcolor="orange"> <tr> <td> One </td> <td width="8cm"> Two </td> </tr> <tr> <td bgcolor="yellow"> <b>Three</b> </td> <td width="8cm"> Four </td> </tr> </table> Then without the yellow on the cell the whole table colors its background orange. But with it only the given cell has yellow background, the others lose their orange. Is this as should be? Or is something wrong? Hans van der Meer
participants (1)
-
Meer, H. van der