Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.7 Eliminating automatically generated attributes

### 24.4.7 Eliminating automatically generated attributes

Mif2Go automatically generates the following attributes for tables in HTML (but not XML), based in part on properties of the tables in your FrameMaker document:

border, cellspacing, cellpadding

align, valign

bgcolor

You might not want these automatically generated attributes in HTML output, especially if you are using CSS to control table appearance.

To exclude automatically generated attributes from HTML output, while preserving any of the same attributes you specify explicitly in the configuration file or in markers:

[Tables]

; TableAttributes = Yes (default for HTML) or No (default for XML)

TableAttributes=No

; CellAlignAttributes = Yes (default for HTML) or No (default for XML)

CellAlignAttributes=No

; CellColorAttributes = Yes (default for HTML) or No (default for XML)

CellColorAttributes=No

border, cellspacing, cellpadding

When TableAttributes=No, automatically generated border, cellspacing, and cellpadding attributes are excluded from HTML output; see §24.4.8.3 Excluding border, cellspacing, and cellpadding attributes.

align, valign

When CellAlignAttributes=No, automatically generated align and valign attributes based on FrameMaker table properties are excluded from HTML output.

bgcolor

When CellColorAttributes=No, automatically generated bgcolor attributes based on FrameMaker table properties are excluded from HTML output.

Excluded from XML output

If you are generating XML, by default Mif2Go excludes these automatically generated attributes; however, Mif2Go still includes any of these attributes that you specify explicitly in markers or in either of the following sections:

• [Attributes]; see §24.4.1 Specifying attributes for all tables)

• [TableAttributes]; see §24.4.2 Overriding attributes for selected tables.

See §14.2 Setting up a generic XML project and §14.4.3 Eliminating HTML attributes and tags for generic XML.

> 24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.7 Eliminating automatically generated attributes

| Mif2Go User's Guide: 24.4.6 Specifying attributes for table cells |  | Mif2Go User's Guide: 24.4.8 Adjusting borders, cell spacing, and cell padding |