Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.3 Mapping paragraph formats to DITA block elements > 15.4.3.4 Omitting invalid tags for default DITA block elements

#### 15.4.3.4 Omitting invalid tags for default DITA block elements

Some DITA 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 document are left unmapped, or are explicitly mapped to the default block element (usually <p>), 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 example, if your FrameMaker document uses the standard Body paragraph format in table cells, and Body is either unmapped or is mapped to <p>, for cells in a DITA properties table where <p> is not allowed, Mif2Go would wrap each instance of <p> in a parent element that is allowed.

For enclosing block elements that allow mixed content, you can avoid this problem by directing Mif2Go to omit the default paragraph tags instead of interpolating a parent.

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

[DITAOptions]

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

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

; drop the tag)

DropInvalidParaTag = Yes

See also:

§15.5.3 Fixing up interpolated ancestries

> 15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.3 Mapping paragraph formats to DITA block elements > 15.4.3.4 Omitting invalid tags for default DITA block elements

| Mif2Go User's Guide: 15.4.3.3 Specifying a default element for unmapped paragraph formats |  | Mif2Go User's Guide: 15.4.3.5 Overriding element mapping for paragraph formats |