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

<< Prev | Next >>

> 15 Converting to DITA XML > 15.6 Converting tables to DITA XML > 15.6.4 Applying attributes to DITA tables

### 15.6.4 Applying attributes to DITA tables

Suppose you want to apply a DITA outputclass attribute to a table or group of tables.

If you want to be able to use outputclass for pretty much everything, based on the table format name (fixed for CSS use) for tables, and on either the FrameMaker paragraph or character format name or the [Class] setting for paragraph and character elements, just use [DITAOptions]UseOutputClass=Yes; see §15.4.6.6 Providing outputclass attributes for all elements.

To apply a DITA outputclass attribute value to table formats only:

[TableAttributes]

MySpecialTableFormatName = outputclass="myspecialclass"

Add any other special attributes you want for that table format on the same line, and use another line for each additional format; see §24.4.2 Overriding attributes for selected tables.

You can also specify an outputclass attribute for an individual table with a TableOutputclass marker in the text flow before the table anchor, or in the table title or first table row; see §24.1.2 Understanding precedence of assignment methods.