The Table element encloses a two-dimensional grid that is composed of rows that are further divided into cells.

Frames and borders

The table is separated from surrounding objects with border lines, using the Border attribute. A number of pixels value may be specified for the thickness of the lines, such as '3' pixels, but a value of '0' indicates no border and no space for a border. The Frame attribute is used to constrain where border lines are drawn, and can take a value of 'void' (none), 'above', 'below', 'hsides' (horizontal sides), 'lhs' (left-hand side), 'rhs' (right-hand side), 'vsides' (vertical sides), 'box' (all sides) and 'border'.

The Rules attribute is used to draw lines between cells in the table, and can take a value of ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.