The Variant type specifies the value for a Variable or VariableType Node. This type is the same as the type defined in 188.8.131.52. As a result, the functions used to serialize Variants during Service calls can be used to serialize Variant in this file syntax.
Variants can contain NodeIds, ExpandedNodeIds and QualifiedNames which must be modified so the NamespaceIndexes and ServerIndexes reference the NamespaceUri and ServerUri tables in the UANodeSet.
Variants can also contain ExtensionObjects which contain an EncodingId and a Structure with fields which with any DataType including NodeIds, ExpandedNodeIds or QualifiedNames. The NamespaceIndexes and ServerIndexes in these fields shall also reference the tables in the UANodeSet.