|theInstanceID||String||The ID of the instance node to create or replace. This is defined by the id attribute of that node, and is case sensitive.
To replace the root node of the form, set this parameter to null.
|theFile||String||The path to the file on the local drive that contains the XML instance. Note that this file must be UTF-8.|
|theFlags||Long||Reserved. Must be 0.|
|theScheme||String||Reserved. Must be null.|
|theRootReference||String||A reference to the node you want to replace or append children to. This reference is relative to the instance node.
Use null to default to the instance node.
|theNSNode||IFormNodeP||A node that inherits the namespaces used in the reference. This node defines the namespaces for the function. Use null if the node that this function is operating on has inherited the necessary namespaces.|
|replaceNode||Boolean||If True, the node specified by theRootReference is replaced with data. If False, the data is appended as the last child of the theRootReference node.|
Form.EncloseInstance "Test", "c:\DataInstance.txt", 0, vbNullString, _
vbNullString, Nothing, False