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.2 Mapping paragraph formats to DocBook elements > 17.4.2.3 Omitting invalid tags for default DocBook block elements


17.4.2.3 Omitting invalid tags for default DocBook block elements

Some DocBook block elements allow only #PCDATA, not paragraph tags. When a “normal” paragraph must be placed inside one of these blocks, the paragraph tag should be omitted.

If some paragraph formats in your FrameMaker document are left unmapped, or are explicitly mapped to the default block element (usually <para>), the presence of such paragraphs in contexts where the default block element would not be valid could trigger unwanted interpolation of an arbitrary parent element. For enclosing block elements that allow mixed content, you can avoid this problem by directing Mif2Go to omit the default paragraph tags.

To omit invalid default paragraph tags where mixed content is allowed:

[DocBookOptions]

; DropInvalidParaTag = No (default) or Yes (if the para tag is the

;  default DefParaElem <para> and is invalid, but #PCDATA is valid,

;  drop the tag)

DropInvalidParaTag = Yes

See also:

§17.5.3 Fixing up interpolated ancestries



17 Converting to DocBook XML > 17.4 Configuring DocBook elements > 17.4.2 Mapping paragraph formats to DocBook elements > 17.4.2.3 Omitting invalid tags for default DocBook block elements