<colspec>

The <colspec> element contains a column specification for a table, including assigning a column name and number, cell content alignment, and column width.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/colspec

Example

See table.

Attributes

The following attributes are available on this element: Universal attribute group (without the Metadata attribute group), @base from the Metadata attribute group, outputclass, and the attributes defined below. This element also uses @align, @char, @charoff, @colsep, @rowsep, and @rowheader from Complex-table attribute group.

@colnum
Indicates the number of a column in the table, counting from the first logical column to the last column.
@colname
Specifies a name for the column defined by this element. The <entry> element can use @colname to refer to the name of this column.
@colwidth
Describes the column width.