Mif2Go can convert FrameMaker text conditions to attributes in HTML/XHTML output elements. To use this feature, set FrameMaker Show/Hide to show all the conditions for which you want content present. The conditions shown are identified in the output. Content that remains hidden in FrameMaker is not included. Multiple conditions result in multiple conditional attribute values.
If a full element (either paragraph or character, block or inline) is conditional, Mif2Go sets an attribute for it. If you are using CSS, Mif2Go modifies the existing class by concatenating the condition attribute to the original class name; for example:
If the condition does not apply to all of an element, Mif2Go encloses the conditional part in a pair of tags, with the same attributes. By default, Mif2Go uses <span> for HTML. However, you can specify another tag to use for this purpose:
In addition to text, Mif2Go applies conditions to <table> and <img> elements, and to <a href="..."> elements, based on the conditions in effect in FrameMaker at the point of the table or figure anchor, cross reference, or marker.
Mif2Go supports conditional table rows; row condition attributes are not applied to the paragraphs within cells. Likewise, the attributes of block tags are not applied to inline tags enclosed within the block.
> 12 Converting to HTML > 12.10 Converting conditions to HTML attributes