<!ELEMENT option EMPTY>
Parent: <property>
If a property’s data-type
property is set to enumerated
, use <option>
tags to indicate the possible values of the enumerated properties. For example:
<property name="gender" data-type="enumerated"> <option value="male" code="0"/> <option value="female" code="1"/> </property>
Attributes
Attribute | Description |
---|---|
| The value of the enumerated option. |
| The integer code that represents the enumerated option in the database. If no code is specified, an appropriate code is generated by the SQL repository. The value of the |
| If a resource bundle is specified for this property with the tag |
| Typically used for XML file combination, where elements with the same ID are regarded as the same element. |