The Varianttype specifies the value for a Variableor VariableType Node. This type is the same as the type defined in 5.3.1.17. As a result, the functions used to serialize Variantsduring Servicecalls can be used to serialize Variantin this file syntax.

Variantscan contain NodeIds, ExpandedNodeIdsand QualifiedNameswhich must be modified so the NamespaceIndexesand ServerIndexesreference the NamespaceUri and ServerUritables in the UANodeSet.

Variantscan also contain ExtensionObjectswhich contain an EncodingIdand a Structurewith fields which with any DataTypeincluding NodeIds, ExpandedNodeIdsor QualifiedNames. The NamespaceIndexesand ServerIndexesin these fields shall also reference the tables in the UANodeSet.