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

By default, Mif2Go automatically provides id attributes only for elements that require them; basically, any element that is a link target. To direct Mif2Go 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, Mif2Go 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 marker (see §15.4.6.1 Specifying a value for the id attribute).

See also:

§5.3 Identifying files and objects

| 15.4.6.1 Specifying a value for the id attribute |  | 15.4.6.3 Specifying attribute values for the root element of a topic |