cols Number of Table Columns (OASIS Table Model)

Specifies the number of columns in a Table Group


The official OASIS Exchange (CALS) Table Model documentation can be found at
REQUIRED on element: <oasis:tgroup>
Value Meaning
A number How many columns: a digit or series of digits corresponding to the desired number of columns
Restriction @cols is required; it must be provided if the element is used.
Tagged Sample

Table with seven columns

<oasis:table frame="all">
<oasis:tgroup cols="7">
<oasis:colspec colnum="1" colname="col1" align="center" colsep="1"/>
<oasis:colspec colnum="2" colname="col2" align="center" colsep="1"/>
<oasis:colspec colnum="3" colname="col3" align="center" colsep="1"/>
<oasis:colspec colnum="4" colname="col4" align="center" colsep="1"/>
<oasis:colspec colnum="5" colname="col5" align="center" colsep="1" colwidth="2"/>
<oasis:colspec colnum="6" colname="col6" align="center" colsep="1"/>
<oasis:colspec colnum="7" colname="col7" align="char" charoff="30" char="."/>
<oasis:thead valign="middle">...</oasis:thead>
<oasis:tbody valign="middle">...</oasis:tbody>