### 15.5.5 Specifying alternate ancestries for the same element

If your document uses the same paragraph format in several lineages, you can create a set of alternate ancestor elements for Mif2Go to choose from, depending on the context. The following predefined element sets are included in your project configuration file when you first set up a DITA project. You can alter or delete these sets, and you can define additional sets.

To define sets of elements to be considered as alternate ancestors:

[DITAElementSets]

; $setname = DITA elements in the set.

; These element sets are predefined in the starting .ini for DITA:

$top= body section step

$text= body conbody taskbody refbody section example step refsyn entry

$list= ol ul

Each set name must start with a dollar sign ($). You must define each set as a collection of elements; you may not define one element set in terms of other element sets.

You can use an element set name in place of an element name in [DITAParents], in [DITAFirst], or in the corresponding DITAParent and DITAFirst markers. For example:

[DITAParents]

Body = $text

Body2 = $top $list li

Any element in the set is acceptable at the point where it appears in the hierarchical sequence. There is no equivalent marker.

| 15.5.4 Deciding when to fully specify ancestry |  | 15.5.6 Specifying first-child status for nested elements |