[oXygen-user] Table formatting: style attribute

Michael Boudreau mboudreau at uchicago.edu
Sat Oct 15 20:45:05 CDT 2022


Is Oxygen supposed to heed the ‘style’ attribute on <th> and <td> elements in the JATS table model when it’s rendering tables? It doesn’t appear to be doing so.

I’m using Oxygen 25.0 on macOS X 12.6. I’m creating tables using the JATS table model in a framework that uses CSS files copied from the JATSKit framework. When I add a style attribute like this—

<td align="center" valign="bottom"
    style="border-bottom: solid thin black; border-right: solid thin black">X</td>

—the rules I hope to see on the cell don’t appear.

(For background: I’m creating tables in the JATS model by converting tables from the OASIS model. In the OASIS model, the <entry> element has ‘colsep’ and ‘rowsep’ attributes to make a rule appear on the right or bottom edge of the table cell. Since there are no direct analogues of those attributes in the JATS model <th> and <td> elements, I’m using the ‘style’ attribute instead.)

--
Michael R. Boudreau
Electronic Publishing Technology Manager
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637
www.journals.uchicago.edu<http://www.journals.uchicago.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20221016/3c5b2d5b/attachment.htm>


More information about the oXygen-user mailing list