24.3.2.4 Wrapping table row groups

To group table rows, the rows must be wrapped in elements that distinguish header, footer, and body rows, and that provide a way to group body rows:

[Tables]

; HeadFootBodyTags = No (default) or Yes (to wrap table rows in

; <thead>, <tfoot>, and <tbody> groups; needed to enable

; scope="rowgroup")

HeadFootBodyTags=Yes

Create header, footer, and body sections

When you specify HeadFootBodyTags=Yes, Mif2Go wraps table rows with <thead>, <tbody>, and <tfoot> tags, as follows:

All rows that are FrameMaker-defined Heading rows, or that are included in the table header by row count, are wrapped in <thead>...</thead>.

All rows that are FrameMaker-defined Footing rows, or that are included in the table footer by row count, are wrapped in <tfoot>...</tfoot>.

All remaining rows are wrapped in <tbody>...</tbody>.

This setting is intended primarily to support WAI interpretation using the WAI scope attribute; see §26 Identifying HTML table structure for WAI for more information. However, you can also use this setting also to add CSS class attributes.

Position table footers

W3C specifies that a <tfoot> element, if present, must immediately follow the <thead> element, before any <tbody> elements; for more information, see:

http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.3

By default, that is where Mif2Go puts <tfoot> elements in your HTML output. Any compliant HTML 4.x or XHTML 1.x browser should support this positioning; require it, even, and fail to display the table otherwise.

When you specify HeadFootBodyTags=Yes, if you want to guarantee that table footers appear in HTML at the bottom of your tables (even though this apparently flies in the face of the W3C specification), you must also specify FootTagLast=Yes:

[Tables]

; FootTagLast = No (default, put after thead) or Yes (keep NS4 happy)

FootTagLast=Yes