| | The element tgroup is defined in module CALStable. Purpose A wrapper for the main content of a table, or part of a tableContent model (colspec* , spanspec* , thead? , tfoot? , tbody)Attributes
| Name | Type | Value | Purpose |
|---|
cols | CDATA | required | specifies the number of columns in the table. | tgroupstyle | NMTOKEN | optional | holds the name of a table group style defined in a stylesheet
(e.g., a FOSI) that will be used to process this document. | colsep | CDATA | optional | If colsep has the value 1 (true), then a rule will be drawn to the right of all columns in this tgroup. A value of 0 (false) suppresses the rule. The rule to the right of the last column in the table is controlled by the frame attribute of the enclosing table and not the colsep. | rowsep | CDATA | optional | If rowsep has the value 1 (true), then a rule will be drawn below all the rows in this tgroup (unless other, interior elements, suppress some or all of the rules). A value of 0 (false) suppresses the rule. The rule below the last row in the table is controlled by the frame attribute of the enclosing table. | align | ENUMERATION: left | right | center | justify | char |
"left"
| specifies the horizontal alignment of entrys (or entrytbls) in cells of the tgroup. If char is specified, see also char and charoff. Individual columns, spans, and cells can provide an alternate alignment. | charoff | NMTOKEN |
"50"
| specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified in char when the align attribute is set to char. | char | CDATA |
""
| specifies the alignment character when the align attribute is set to char. |
Description
A tgroup surrounds a logically complete portion of a table.
Most tables consist of a single tgroup, but complex tables
with widely varying column specifications may be easier to code using multiple
tgroups.
The tgroup specifies the number of columns in the table, and
contains all of the header, body, and footer rows, along with any additional column or span
specifications necessary to express the geometry of the table.
Most of the properties of rows, columns, and cells inherit their default characteristics
from the enclosing tgroup.
Parents
These elements contain tgroup:
table.
Children
These elements may occur inside of tgroup:
colspec, spanspec, tbody, tfoot, thead
|