##### 26.4.3.1 Assigning DocBook elements to character formats

To map character formats in your document to DocBook elements, assign an element name to each character format name:

    [DocBookCharTags]
    ; character format (wildcards OK) = DocBook element, cannot be
    ;  overridden by a DocBookTag marker; or format = No.
    CharFmtName = elementname

To specify that a particular character format should not be mapped to an element:

    [DocBookCharTags]
    CharFmtName = No

The value No means that tags for the format should be omitted, leaving the text inside the enclosing element. For example, map the character formats you use for links and cross references to No. DITA2Go automatically generates <xref> tags from the cross references in DITA, based on the format, but you do not need to map the format itself to any element.

The default element for a character format that is not mapped in [DocBookCharTags] is the element designated by DefCharElem; see §26.4.3.2 Specifying a default element for unmapped character formats. It is best to map each character format to the most specific element possible, which is not often the default element.

Previous Topic: 26.4.3 Mapping character formats to DocBook elements

Next Topic: 26.4.3.2 Specifying a default element for unmapped character formats

Parent Topic: 26.4.3 Mapping character formats to DocBook elements

Sibling Topics:

26.4.3.2 Specifying a default element for unmapped character formats

26.4.3.3 Overriding element mapping for character formats

Table of Contents • Index