Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

24 Converting tables to HTML > 24.6 Using macros to control table properties > 24.6.5 Specifying row-group, row, and cell attributes with macros


24.6.5 Specifying row-group, row, and cell attributes with macros

You can specify HTML code to add attributes at precisely defined locations inside table row groups, rows, and cells. These attributes override the same attributes specified in the [Attributes] section:

Row-group attributes

Row attributes

Cell attributes.

Row-group attributes

The following sections let you control attributes of table row groups, and allow you to use macros in a row-group element: <thead>, <tfoot>, or <tbody>.

[TableHeaderAttributes]

; table ID = text (macro) to put inside <thead>,

; overrides [Attributes] for <thead>

[TableFooterAttributes]

; table ID = = text (macro) to put inside <tfoot>,

; overrides [Attributes] for <tfoot>

[TableBodyAttributes]

; table ID = = text (macro) to put inside <tbody>,

; overrides [Attributes] for <tbody>

For these overrides to take effect, you must also specify either of the following:

for all tables, any one of:

[Tables]

HeadFootBodyTags = Yes

AccessMethod = Scope

ScopeRowGroup = Yes

for individual tables or table groups, any one of:

[TableAccess]

TableID = HFBTags

TableID = Scope

TableID = ScopeRowGroup

See also:

§24.3.2.4 Wrapping table row groups

§24.3.2.6 Overriding row and column group settings.

Row attributes

The following sections let you control row attributes for all the rows in a table (or group of tables), and use macros in a row before and after other content. See also §26.1 Identifying table rows and columns for ways to identify table rows for WAI (Web Accessibility Initiative) markup.

[TableRowAttributes]

; table ID = text (macro) to put inside <tr>, overrides [Attributes]

[TableRowStartMacros]

; table ID = text of macro to put on line after <tr>

[TableRowEndMacros]

; table ID = text of macro to put before </tr>

See also:

§24.4.5 Specifying attributes for table rows

Cell attributes

The following sections let you control cell attributes for all the cells in a table (or group of tables), and use macros in a cell before and after other content.

[TableCellAttributes]

; table ID = text (macro) to put inside <td>, overrides [Attributes]

[TableCellStartMacros]

; table ID = text of macro to put after <td>

[TableCellEndMacros]

; table ID = text of macro to put before </td>



24 Converting tables to HTML > 24.6 Using macros to control table properties > 24.6.5 Specifying row-group, row, and cell attributes with macros