2.17 Variations

The Variations element specifies a collection of fields which are considered variations of the parent element, the containing field. For example, the attributes Year, Month, and Day are considered variations of Date.

The Variations element MUST contain at least one Variations.Attribute child element or one Variations.Role child element and can contain more.

The Variations element MUST NOT be specified if its parent field element is a variation of another field.

The following are the parent and child elements of the Variations element.

Parent elements

Attribute

Role

Child elements

Variations.Attribute

Variations.Role

The following is the XML Schema definition of the Variations element.

 <xsd:complexType name="VariationsType">
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="Attribute" type="AttributeType" />
     <xsd:element name="Role" type="RoleType" />
   </xsd:choice>
 </xsd:complexType>