2.2.10 Variant

If the SMDL format specifies the value of an element as type Variant, the value of the element MUST be a valid simple XML type value, as specified in [XMLSCHEMA2] section 2.5.2 for xsd:anySimpleType.

If the SMDL data type Variant is referenced by the CustomProperty.Value element, the data type of the Variant is specified by the value of the xsi:type attribute on the CustomProperty.Value element.

If the SMDL data type Variant is referenced by the Literal.Value or Values.Value elements, and if the value of the related Literal.DataType element is not "EntityKey", the data type of the Variant is specified by the value of the Literal.DataType element. If the value of the Literal.DataType element is "EntityKey", the value of the element is not a Variant.

The Variant data type is referenced by the following elements.

Referenced by

CustomProperty.Value

Literal.Value

Values.Value