You can specify how many column-header rows, row-header columns, and footer rows the tables in your document typically have. These settings are intended primarily to support WAI interpretation; see §35. Identifying HTML table structure for WAI for more information. Table 33-3 shows the settings.
Use these settings to establish document-wide defaults for the number of columns in row headers, the number of rows in column headers, and the number of rows in table footers.
[Tables] ; TableHeaderCols = count of cols in which to make td -> th, ; counting from left at the start of each row in the table TableHeaderCols=0 ; TableHeaderRows = count of rows in which to make td -> th, ; counting from the top of the table TableHeaderRows=0 ; TableFooterRows = count of footer rows from bottom of the table, ; significant only when RowGroupIDs = Yes. TableFooterRows=0
For example, if your tables typically have two DITA-defined header rows, and you want the first body row in most of them to be considered a header row also, you would set TableHeaderRows=3. To designate cells in the first column as row headers, set TableHeaderCols=1.
Note: You need the TableHeaderRows and TableFooterRows settings only if some header rows are misclassified as body rows in DITA. If you consistently use DITA header (there is no DITA concept of footer) rows for the headers in your tables, and you provide an @outputclass for rows to be treated as footer rows, you do not need either of these settings. See §6.9 Specifying formats and options for tables.