Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.6 Providing outputclass attributes for all elements


15.4.6.6 Providing outputclass attributes for all elements

By default, Mif2Go does not try to assign CSS classes to DITA elements (unless you set [CSS]UseCSS=Yes; see §22.4 Specifying CSS file and link options).

To direct Mif2Go to provide an outputclass attribute for elements that allow this attribute:

[DITAOptions]

; UseOutputClass = No (default when [CSS]UseCSS=No)

;  or Yes (default when [CSS]UseCSS=Yes)

UseOutputClass = Yes

When UseOutputClass=Yes, Mif2Go includes an outputclass attribute where allowed. The value of the attribute is the [ParaClasses] or [CharClasses] assignment (if any) for the FrameMaker format mapped to the element, otherwise the name of the FrameMaker format mapped to the element. See §22.7 Assigning CSS classes

Note:  To include outputclass attributes, make sure your configuration file does not specify [CSS]WriteClassAttributes=No.

Root element outputclass

The only way to include an outputclass attribute in the root element is with a DITATopicOutputclass marker: place the marker anywhere in the topic, and make the content of the marker the value of the outputclass attribute.



15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.6 Providing outputclass attributes for all elements