Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

17 Converting to DocBook XML > 17.4 Configuring DocBook elements > 17.4.1 Treating FrameMaker format names as element names


17.4.1 Treating FrameMaker format names as element names

If some of your FrameMaker formats are already named for DocBook elements, you can lessen the chore of mapping formats to elements by directing Mif2Go to use the format name as the DocBook element name wherever possible (that is, when 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.

However, leaving any paragraph format unmapped is risky; some formats might match the names of DocBook elements that do not do what you want.

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

[DocBookOptions]

; 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 DocBook element name in the current content model is mapped to that element.

Unmapped format names that do not correspond to such element names are mapped to the default element; see:

§17.4.2.2 Specifying a default element for unmapped paragraph formats

§17.4.3.2 Specifying a default element for unmapped character formats.



17 Converting to DocBook XML > 17.4 Configuring DocBook elements > 17.4.1 Treating FrameMaker format names as element names