36.3.10 Using
span IDs with row or column IDs
When ColIDs=Yes:
- If
ColSpanIDs=No,
DITA2Go interprets horizontally straddled cells in a column-header
row as applying to all the body cells below them. For example, if the
first cell in column 2 also straddles the cell next to it in column 3,
DITA2Go generates headers="col2"
for the body cells in columns 2 and 3.
- If
ColSpanIDs=Yes,
the cells are identified as follows:
- The
straddling cell gets id="spann" instead
of id="col2".
- The
two non-straddling cells in the first row below the straddling cell get
id="col2"
(left cell) and id="col3"
(right cell).
- The
rest of the non-straddling cells below get headers="col2"
(left column) and headers="col3"
(right column).
- All
cells below the straddling cell get headers="spann".
When RowIDs=Yes:
- If
RowSpanIDs=No,
DITA2Go interprets vertically straddled cells in a row-header
column as applying to all the body cells to the right of them. For example,
if the first cell in row 2 also straddles the cell below it in row 3,
DITA2Go generates headers="row2"
for the body cells in rows 2 and 3.
- If
RowSpanIDs=Yes,
the cells are identified as follows:
- The
straddling cell gets id="spann" instead
of id="row2".
- The
two non-straddling cells in the first column to the right of the straddling
cell get id="row2"
(top cell) and id="row3"
(bottom cell).
- The
rest of the non-straddling cells to the right get headers="row2"
(top row) and headers="row3"
(bottom row).
- All
cells to the right of the straddling cell get headers="spann".
See §36.3.6 Using
span attributes to identify rows and columns for more information
about RowSpanIDs.
Previous Topic:
36.3.9 Column
and row extent
Next Topic:
36.4 Overriding
default table-cell settings
Parent Topic:
36.3 Using the
id/headers method to identify table cells
Sibling Topics:
36.3.1 Choosing
an id/headers level
36.3.2 Specifying
id/headers attributes for table cells
36.3.3 Grouping
header cells for identification
36.3.4 Column-group
and row-group extent
36.3.5 Choosing
a different row-group method
36.3.6 Using span
attributes to identify rows and columns
36.3.7 Column-span
and row-span extent
36.3.8 Identifying
individual table cells by row and column
36.3.9 Column
and row extent
Table of Contents • Index