Table roles
List of table roles plus description. An alphabetical listing of all roles is available in the related topic "Roles-full list".
| Role | Description |
|---|---|
cellcolspan | The table editor uses this attribute to specify the number of columns a cell spans. The HTML equivalent is colspan. See also tablecell. |
cellendcolumnname | Specifies the name of the rightmost column of a CALS table cell span. |
cellstartcolumnname | Specifies the name of the leftmost column of a CALS table cell span. |
cellmorerows | Specifies the number of additional rows in a CALS table cell. |
cellrowspan | The table editor uses this attribute to specify the number of rows a cell spans. The HTML equivalent is rowspan. See also tablecell. |
table | This element will be inserted by the table editor. The HTML equivalent is <table>. |
tablebody | This element can be inserted by the table editor. The HTML equivalent is a row group <tbody>. |
tableborder | The 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. |
tablecaption | The HTML equivalent is <caption>. This role is used to map clipboard data in HTML format to the document's schema. |
tablecellcontainer | The table editor will insert table cells in this element. The HTML equivalent is <tr>. |
tablecell | The table editor can insert this element in the tablecellcontainer. The HTML equivalent is <td>. See also cellrowspan and cellcolspan. |
tablecellpadding | The 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. |
tablecellspacing | The 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. |
tablecolumncontainer | The table editor will mark the element as tablecolumncontainer. The CALS equivalent is a table section <tgroup>. |
tablecolumncount | The number of columns in a CALS table group(tablecolumncontainer). |
tablecolumnspec | Specifies a CALS column element. |
tablecolumnnumber | Specifies the attribute that contains the number of a CALS column. |
tablecolumnname | Specifies the attribute that contains the name of a CALS column. |
tablefooter | This element can be inserted by the table editor. The HTML equivalent is a row group <tfoot>. |
tableheader | This element can be inserted by the table editor. The HTML equivalent is a row group <thead>. |
tableheadercell | The table editor can insert this element in the tablecellcontainer. The HTML equivalent is <th>. |
tableheaderrow | The table editor can insert this element in the tablerowcontainer. The DITA equivalent is a simpletable header <sthead.. |
tablerow | The table editor will insert this element in the tablerowcontainer. The HTML equivalent is <tr>. |
tablerowcontainer | The table editor will insert table rows in this element. |