##### 26.4.4.3 Providing IDs for interpolated parents of block elements

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

    [DocBookParentIDs]
    ; para format = single parent element for which the ID
    ;  of the para should be used.
    ParaFmt = ParentElement

When you assign a parent element in [DocBookParentIDs], DITA2Go includes in the specified interpolated parent of each element mapped from ParaFmt the ID attribute assigned (or that would have been assigned) to that element in [DocBookParaIDs]. The ID attribute is added only if the parent is interpolated by DITA2Go as a required ancestor of the current element. Because IDs must be unique, an automatically assigned parent ID disables any Yes setting for the same format in [DocBookParaIDs]; see §26.4.4.2 Providing IDs for block elements. And it also eliminates any ID assigned to the child via DocBookElemID PI marker; see §26.4.4.4 Specifying an ID for an individual block element or parent.

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

Previous Topic: 26.4.4.2 Providing IDs for block elements

Next Topic: 26.4.4.4 Specifying an ID for an individual block element or parent

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.2 Providing IDs for block elements

26.4.4.4 Specifying an ID for an individual block element or parent