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.2 Treating FrameMaker format names as DITA element names


15.4.2 Treating FrameMaker format names as DITA element names

If most of your FrameMaker formats are named for DITA elements, you can lessen the chore of mapping formats to elements by directing Mif2Go to use the format name as the DITA element name wherever possible (that is, where the content model includes an element of that name). This works only if the named element is of an appropriate type: block allowing text for a paragraph format, or inline allowing text for a character format; see §32.6 Inspecting and correcting element types.

However, unless your FrameMaker template is specifically designed for DITA, leaving any paragraph format unmapped is risky; some formats might match the names of DITA elements that do not do what you want.

To map FrameMaker format names to DITA elements of the same name where possible:

[DITAOptions]

; UseFormatAsTag = No (default, if tag unmapped use default elem),

;  or Yes (if unmapped, use Frame format name if valid in content

;  model).

UseFormatAsTag = Yes

When UseFormatAsTag=Yes, any FrameMaker format with a name that is the same as a DITA element name in the current content model is mapped to that element.

When UseFormatAsTag=No, unmapped format names that do not correspond to appropriate DITA element names are mapped to the default element; see:

§15.4.3.3 Specifying a default element for unmapped paragraph formats

§15.4.4.3 Specifying a default element for unmapped character formats.



15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.2 Treating FrameMaker format names as DITA element names