tgroup
tgroup — A wrapper for the main content of a table, or part of a table
Synopsis
Content Model
tgroup ::=
(colspec*,spanspec*,thead?,tfoot?,tbody)
Attributes
Name | Type | Default | ||||||
rowsep | CDATA | None | ||||||
ondblclick | CDATA | None | ||||||
cols | CDATA | Required | ||||||
onkeydown | CDATA | None | ||||||
onkeyup | CDATA | None | ||||||
onmouseup | CDATA | None | ||||||
onmouseover | CDATA | None | ||||||
align |
| None | ||||||
onkeypress | CDATA | None | ||||||
onmousedown | CDATA | None | ||||||
tgroupstyle | CDATA | None | ||||||
onclick | CDATA | None | ||||||
title | CDATA | None | ||||||
class | CDATA | None | ||||||
charoff | CDATA | None | ||||||
colsep | CDATA | None | ||||||
onmouseout | CDATA | None | ||||||
style | CDATA | None | ||||||
onmousemove | CDATA | None | ||||||
xml:lang | NMTOKEN | None | ||||||
char | CDATA | None |
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 TGroup
s.
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
.
Processing expectations
This element is expected to obey the semantics of the CALS Table Model Document Type Definition, as specified by OASIS Technical Memorandum TM 9502:1995 .
Parents
These elements contain tgroup: informaltable
, table
.
Attributes
align
Align
specifies the horizontal alignment ofEntry
s (orEntryTbl
s) in cells of theTGroup
. IfChar
is specified, see alsoChar
andCharOff
. Individual columns, spans, and cells can provide an alternate alignment.char
Char
specifies the alignment character when theAlign
attribute is set toChar
.charoff
CharOff
specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified inChar
when theAlign
attribute is set toChar
.cols
Cols
specifies the number of columns in the table.colsep
If
ColSep
has the value 1 (true), then a rule will be drawn to the right of all columns in thisTGroup
. A value of 0 (false) suppresses the rule. The rule to the right of the last column in the table is controlled by theFrame
attribute of the enclosingTable
orInformalTable
and not theColSep
.rowsep
If
RowSep
has the value 1 (true), then a rule will be drawn below all the rows in thisTGroup
(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 theFrame
attribute of the enclosingTable
orInformalTable
and theRowSep
of the last row is ignored. If unspecified, this attribute is inherited from enclosing elements.tgroupstyle
TGroupstyle
holds the name of a table group style defined in a stylesheet (e.g., a FOSI) that will be used to process this document.
Examples
For examples, see entrytbl
, footnoteref
, informaltable
, table
.