3.1.1.3.2 tgroup

The <tgroup> element in a table contains column, row, spanning, header, and the body (<tbody>) of the table.Deleted " and footer specifications", since DITA uses the OASIS interchange model, which doesn't include tfoot.

Contains

Doctype

Content model

topic, map, concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary

( (colspec) (any number) then (thead) (optional) then tbody)

Contained by

Doctype

Content model

topic (base), map (base), topic (technical content), map (technical content), concept, ditabase, glossary, glossentry, glossgroup, reference, task (strict), task (general), bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary

table

Inheritance

- topic/tgroup

Example

See 3.1.1.3.1 table.

Attributes

Name

Description

Data Type

Default Value

Required?

cols

Indicates the number of columns in a <tgroup> in a table.

NMTOKEN

#REQUIRED

Yes

colsep

Column separator. A value of 0 indicates no separators; 1 indicates separators.

NMTOKEN

#IMPLIED

No

rowsep

Row separator. A value of 0 indicates no separators; 1 indicates separators.

NMTOKEN

#IMPLIED

No

align

Describes the alignment of text in a table column. Allowable values are:

left

Indicates left alignment of the text.

right

Indicates right alignment of the text.

center

Indicates center alignment of the text.

justify

Justifies the contents to both the left and the right.

char

Use the character specified on the char attribute for alignment.

-dita-use-​conref-​target

See 3.4.2.4.1 Using the -dita-use-conref-target value for more information. In DITA 1.0 and 1.1, char was defined as a legal value, but was not described. The 1.2 spec added a description for the "char" value (the value itself is not new).

(left | right | center | justify | char | -dita-use-​conref-​target)

#IMPLIED

No

univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups)

A set of related attributes, described in 3.4.1.3 univ-atts attribute group

     

global-atts attribute group (xtrf, xtrc)

A set of related attributes, described in 3.4.1.2 global-atts attribute group

     

class, outputclass

Common attributes described in 3.4.1.9 Other common DITA attributes

     

Previous Topic:  3.1.1.3.1 table

Next Topic:  3.1.1.3.3 colspec

Parent Topic:  3.1.1.3 Table elements

Sibling Topics:

3.1.1.3.1 table

3.1.1.3.3 colspec

3.1.1.3.4 thead

3.1.1.3.5 tbody

3.1.1.3.6 row

3.1.1.3.7 entry

3.1.1.3.8 simpletable

3.1.1.3.9 sthead

3.1.1.3.10 strow

3.1.1.3.11 stentry