The Variant type specifies the value for a Variable or VariableType Node. This type is the same as the type defined in 220.127.116.11. 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 and EncodingId and a Structure with fields which could be are NodeIds, ExpandedNodeIds or QualifiedNames. The NamespaceIndexes and ServerIndexes in these fields shall also reference the tables in the UANodeSet.