##### 26.4.4.2 Providing IDs for block elements

To direct DITA2Go to automatically include an ID attribute in each instance of a block element mapped from a particular paragraph format:

    [DocBookParaIDs]
    ; para format = No (default, no ID set automatically) or Yes
    ParaFmt = Yes

When ParaFmt=Yes, DITA2Go includes an ID attribute in the element generated from each paragraph in that format. The default is not to include an ID attribute.

When ParaFmt=No (or when no [DocBookParentIDs] setting is present for ParaFmt), DITA2Go does not include an ID attribute in the elements generated. For an individual element that is the target of a link or cross reference, unless a HyperAnchor PI marker is already present in the paragraph from which the element was generated, you must insert a DocBookElemID PI marker to provide an ID for the element; see §26.4.4.4 Specifying an ID for an individual block element or parent.

Note: If you list the same paragraph format in [DocBookParentIDs], DITA2Go changes the value in [DocBookParaIDs] to No; see §26.4.4.3 Providing IDs for interpolated parents of block elements.

You can override the value of an automatically assigned ID attribute with a HyperAnchor PI marker or a DocBookElemID PI marker inserted in the paragraph; see §26.4.4.4 Specifying an ID for an individual block element or parent.

Previous Topic: 26.4.4.1 Understanding how DITA2Go creates ID attribute values

Next Topic: 26.4.4.3 Providing IDs for interpolated parents of block elements

Parent Topic: 26.4.4 Assigning ID attributes to DocBook block elements

Sibling Topics:

26.4.4.1 Understanding how DITA2Go creates ID attribute values

26.4.4.3 Providing IDs for interpolated parents of block elements

26.4.4.4 Specifying an ID for an individual block element or parent

Table of Contents • Index