The <elementdef> element identifies an element on which an attribute is enumerated. When the <elementdef> is left out of an <enumerationdef> element, the enumeration is bound to the attribute in all elements.
( (data or data-about) (any number) ) |
- topic/data subjectScheme/elementdef
In this example, the <lomDifficulty> element has been specialized from the <data> element. The value attribute on the <lomDifficulty> element (but not the value attribute on other elements) is bound to a specific set of values. This means that processors should limit that attribute on that element to the values veryEasy, easy, medium, difficult, or veryDifficult.
<subjectScheme> <subjectdef keys="difficulty"> <subjectdef keys="veryEasy"/> <subjectdef keys="easy"/> <subjectdef keys="medium"/> <subjectdef keys="difficult"/> <subjectdef keys="veryDifficult"/> </subjectdef> ... <enumerationdef> <elementdef name="lomDifficulty"/> <attributedef name="value"/> <subjectdef keyref="difficulty"/> </enumerationdef> </subjectScheme>
Defines the element for which an attribute enumeration is defined. |
||||
id-atts attribute group (id, conref, conrefend, conaction, conkeyref) |
A set of related attributes, described in 3.4.1.4 id-atts attribute group |
|||
new | changed | deleted | unchanged | -dita-use-conref-target |
||||
Indicates whether the content of the element should be translated or not. The DITA architectural specification contains a list of each OASIS DITA element and its common processing default for the translate value. |
yes | no | -dita-use-conref-target |
|||
A generic attribute that has no specific purpose. It is intended to act as a base for specialized attributes that have a simple value syntax like the conditional processing attributes (one or more alphanumeric values separated by whitespace), but is not itself a filtering or flagging attribute. |
||||
A set of related attributes, described in 3.4.1.2 global-atts attribute group |
||||
Common attributes described in 3.4.1.9 Other common DITA attributes |