6.5.6 Understanding the order of prefixes for multiple attributes

If you specify more than one attribute whose values should be considered for prefixing the format name for a given element <elem>, the order in which you list the attributes to be considered in [ElemSectionName] (see §6.5.2 Listing attributes whose values can affect output formats) determines the order in which the prefixes will be applied:

[ElemAttrPrefixes]
attrx = *
attry = *

If the default format name for <elem> is Elem, for each instance of <elem> that includes values for both @attrx and @attry, their values will be prefixed to the format name in the order the attributes are listed in this section (not the order they are listed in the element itself), and the name of the format DITA2Go looks for would be xvalueyvalueElem.

Previous Topic:  6.5.5 Deciding which formats need a run-in heading property

Next Topic:  6.5.7 Understanding how prefixes modify output formats

Parent Topic:  6.5 Mapping element attributes to output formats

Sibling Topics:

6.5.1 Listing elements whose attributes can affect output formats

6.5.2 Listing attributes whose values can affect output formats

6.5.3 Assigning format-name prefixes to attribute values

6.5.4 Assigning run-in headings to format-name prefixes

6.5.5 Deciding which formats need a run-in heading property

6.5.7 Understanding how prefixes modify output formats

6.5.8 Understanding default attribute-based prefixes and headings