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.3 Mapping paragraph formats to DITA block elements > 15.4.3.5 Overriding element mapping for paragraph formats


15.4.3.5 Overriding element mapping for paragraph formats

To override the element-name mapping for a given paragraph, insert a DITATag marker in the paragraph, with content the desired element name.

If mapping (or overriding mapping) does not suffice, and you do not need to specify a required ancestry for the element, use the following instead:

[HTMLParaStyles] CodeBefore and CodeAfter properties for the format

[ParaStyleCodeBefore] and [ParaStyleCodeAfter] sections to specify the element tags to surround the text.

See §28.9.3 Surrounding or replacing text with code or macros.

Another alternative would be to bracket the text with Config markers, with content such as [ParaStyleCodeBefore]=<element> and [ParaStyleCodeAfter]=</element>; see §33.2.2 Overriding settings with configuration markers

Note:  Mappings provided via [ParaStyleCode*] settings or markers do not participate in any ancestry you specify for the element in question; see §15.5 Nesting DITA block elements.



15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.3 Mapping paragraph formats to DITA block elements > 15.4.3.5 Overriding element mapping for paragraph formats