enumeration

Defines an enumeration field option.

An enumeration element can have a child label element from the http://xmlns.escenic.com/2008/interface-hints namespace. This label is then displayed instead of the value attribute in the Content Studio user interface.

The following field definition, for example:

<field type="enumeration">
 <enumeration value="1">
  <label xmlns="http://xmlns.escenic.com/2008/interface-hints">One</label>
 </enumeration>
 <enumeration value="2">
  <label xmlns="http://xmlns.escenic.com/2008/interface-hints">Two</label>
 </enumeration>
</field>

will result in a field that can hold the value "1" or "2". It will be displayed in Content Studio, however, as a combo box with the options "One" and "Two".

Syntax
<enumeration
    value="string"
  >
  ANY-FOREIGN-ELEMENT*
</enumeration>
Attributes
value="string"

The value of an enumeration field option.