Documentation Center

Table roles

List of table roles plus description. An alphabetical listing of all roles is available in the related topic "Roles-full list".

RoleDescription
cellcolspanThe table editor uses this attribute to specify the number of columns a cell spans. The HTML equivalent is colspan. See also tablecell.
cellendcolumnnameSpecifies the name of the rightmost column of a CALS table cell span.
cellstartcolumnnameSpecifies the name of the leftmost column of a CALS table cell span.
cellmorerowsSpecifies the number of additional rows in a CALS table cell.
cellrowspanThe table editor uses this attribute to specify the number of rows a cell spans. The HTML equivalent is rowspan. See also tablecell.
tableThis element will be inserted by the table editor. The HTML equivalent is <table>.
tablebodyThis element can be inserted by the table editor. The HTML equivalent is a row group <tbody>.
tableborderThe HTML equivalent is the border attribute on a <table>. This role is used to map clipboard data in HTML format to the document's schema.
tablecaptionThe HTML equivalent is <caption>. This role is used to map clipboard data in HTML format to the document's schema.
tablecellcontainerThe table editor will insert table cells in this element. The HTML equivalent is <tr>.
tablecellThe table editor can insert this element in the tablecellcontainer. The HTML equivalent is <td>. See also cellrowspan and cellcolspan.
tablecellpaddingThe HTML equivalent is the cellpadding attribute on a <table>. This role is used to map clipboard data in HTML format to the document's schema.
tablecellspacingThe HTML equivalent is the cellspacing attribute on a <table>. This role is used to map clipboard data in HTML format to the document's schema.
tablecolumncontainerThe table editor will mark the element as tablecolumncontainer. The CALS equivalent is a table section <tgroup>.
tablecolumncountThe number of columns in a CALS table group(tablecolumncontainer).
tablecolumnspecSpecifies a CALS column element.
tablecolumnnumberSpecifies the attribute that contains the number of a CALS column.
tablecolumnnameSpecifies the attribute that contains the name of a CALS column.
tablefooterThis element can be inserted by the table editor. The HTML equivalent is a row group <tfoot>.
tableheaderThis element can be inserted by the table editor. The HTML equivalent is a row group <thead>.
tableheadercellThe table editor can insert this element in the tablecellcontainer. The HTML equivalent is <th>.
tableheaderrowThe table editor can insert this element in the tablerowcontainer. The DITA equivalent is a simpletable header <sthead..
tablerowThe table editor will insert this element in the tablerowcontainer. The HTML equivalent is <tr>.
tablerowcontainerThe table editor will insert table rows in this element.