Tables

The table extensions in CSS2 should be of particular interest to XML users wishing to render the content of arbitrary XML elements in a tabular grid. Chapter 25 includes a brief discussion on the use of CSS to apply table styles to arbitrary XML elements, but the model is more powerful than the simple mapping to the table, the row and the cell elements shown there. As the properties described here have been developed to match the capabilities of the HTML 4.0 table model, readers unfamiliar with this model are advised to read the relevant descriptions in Chapter 25 before continuing.

Table grid

The display value 'table' corresponds to the HTML Table element. The display values 'table-row' and 'table-cell' correspond to the HTML elements ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.