Description
This element is the outer-most element of the standard CALS table model. Each table consist of one or more table grid containers that specify the number of columns and the widths of the column in each grid:
<table>
<tgroup>...</tgroup>
<tgroup>...</tgroup>
</table>
It may specify a surrounding frame (or partial frame), orientation (portrait or landscape) and width (span columns or not).
Note that the CALS model has been modified to ensure or encourage additional Taylor & Francis rules and conventions. On this element, the changes are:
| |
- |
the model usually includes attributes for specifying the column and row separator lines, but they have been removed to help ensure that they are used on lower-level elements.
|
| |
- |
the attribute that identifies lines around the table has been set to a default value of "topbot" instead of just "implied", because this is the usual setting for (official) article tables.
|
| |
- |
the element that specifies various things for each column of the table (see <colspec>) has been made required instead of optional.
|
Parent Elements
The elements listed below may directly contain this element.
They are "parent" elements. Elements in referenced groups are included, up to two levels of group nesting.
Model Diagram
The DTD model for this element:
--+(sequence)
|
tgroup (repeatable) -- (elements)
DTD Definition
The DTD contains the following element and attribute definitions
(note that embedded links are to definitions within the DTD page of this guide):
<!ELEMENT table (tgroup+)>
<!ATTLIST table
frame (top | bottom | topbot | all |
sides | none) "topbot"
orient (port | land) "port"
pgwide NMTOKEN #IMPLIED
%a-group-CommonIDAttrs;>
.
Defined in DTD section
Block-level Content : Tables
General Attributes (shared with other elements)
Local Attributes (defined for this element alone)
Description
This attribute specifies whether or not to draw lines around, or partly around, the whole table. This implementation has a default value of "topbot" instead of the usual implied setting.
Specification
This attribute is required but has a default value of "topbot". The allowed values are "top", "bottom", "topbot", "all", "sides" and "none".
DTD Definition
frame (top | bottom | topbot | all |
sides | none) "topbot" .
Attribute:
orient (
Orientation)
Description
This attribute specifies whether to render the table in landscape or portrait orientation.
Specification
This attribute is required but has a default value of "port". The allowed values are "port" and "land".
DTD Definition
orient (port | land) "port"
.
Description
This attribute can be used to specify that the table is large enough to need more than the width of a single column. The value "0" indicates no column spanning. The value "1" indicates spanning across all columns. This attribute is ignored if the table is being presented in landscape (see
orient).
Specification
This attribute is not required. It holds a single name token (initial character must be a letter, '_' or ':', and remaining characters must be letters or digits or '_', ':', '-', or '.').
DTD Definition
pgwide NMTOKEN #IMPLIED
.