##### 26.4.4.1 Understanding how DITA2Go creates ID attribute values

When DITA2Go assigns an ID to a block element in DocBook, the value of the ID attribute is a combination of the DITA2Go FileID of the file being processed and the ObjectID of the paragraph from which the element was generated.

If a particular block element requires an ID value, DITA2Go looks for a DocBookElemID PI marker in the paragraph from which the element was generated. If that paragraph does not contain a DocBookElemID PI marker, DITA2Go uses the content of the first HyperAnchor PI marker in the paragraph as the ID for the element. If there is no HyperAnchor PI marker, and you have requested automatic ID assignment for that element, DITA2Go assigns an ID.

You can override an automatically assigned ID for a particular block element by inserting either a HyperAnchor PI marker or a DocBookElemID PI marker in the paragraph from which the element is generated; see §26.4.4.4 Specifying an ID for an individual block element or parent.

Previous Topic: 26.4.4 Assigning ID attributes to DocBook block elements

Next Topic: 26.4.4.2 Providing IDs for block elements

Parent Topic: 26.4.4 Assigning ID attributes to DocBook block elements

Sibling Topics:

26.4.4.2 Providing IDs for block elements

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