Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.2 Including an id attribute in every element


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 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.2 Including an id attribute in every element