3.1.1.3.2 tgroup

The <tgroup> element in a table contains column, row, spanning, header, and the body (<tbody>) of the table.

Contains

Note: These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
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 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 Using the -dita-use-conref-target value for more information.
(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 univ-atts attribute group      
global-atts attribute group (xtrf, xtrc) A set of related attributes, described in global-atts attribute group      
class, outputclass Common attributes described in Other common DITA attributes      

Return to main page.

DITA v1.2 CD 03
Copyright © OASIS Open 2005, 2010. All Rights Reserved.