##### 24.4.6.2 Including an id attribute in every element

By default, DITA2Go automatically provides id attributes only for elements that require them; basically, any element that is a link target. To direct DITA2Go to include an id attribute in every element where the id attribute is valid:

    [DITAOptions]
    ; SetElementIDs = No (default) or Yes (add @ids wherever possible)
    SetElementIDs = Yes

When SetElementIDs=Yes, DITA2Go constructs an ID to use for the id attribute of every element for which an id attribute is valid, provided the element does not already have an id attribute assigned some other way, such as with a DITAElemID PI marker (see §24.4.6.1 Specifying a value for the id attribute).

Previous Topic: 24.4.6.1 Specifying a value for the id attribute

Next Topic: 24.4.6.3 Specifying attribute values for the root element of a topic

Parent Topic: 24.4.6 Assigning attributes to DITA elements

Sibling Topics:

24.4.6.1 Specifying a value for the id attribute

24.4.6.3 Specifying attribute values for the root element of a topic

24.4.6.4 Specifying attribute values for a block element or parent

24.4.6.5 Specifying attribute values for an inline element

24.4.6.6 Providing outputclass attributes for all elements