theInstanceID As String,
theFilter As IFormNodeP,
includeNamespaces As String,
theFile As String,
theFlags As Long,
theScheme As String,
theRootReference As String,
theNSNode As IFormNodeP)
|theInstanceID||String||The ID of the instance node to extract. This is defined by the id attribute of that node.
To extract the root node of the form, set this parameter to null.|
|theFilter||IFormNodeP||An item in the form, such as a button or cell, that defines the filtering for the instance. Filtering of elements is controlled by the transmit filters in the item. If all of an element's bound options are filtered out, then the element is also filtered out. Use null.for no filtering.|
|includedNamespaces||String||If set to null, a definition for each inherited namespace is added to the root node of the instance when it is extracted.
To filter the namespaces, list the prefixes for those namespaces you want to include in the instance, separated by spaces.
For example, to include only the xfdl and custom namespaces, you would set this parameter to:
Use #default to indicate the default namespace for the instance.
Use an empty string ("") to include only those namespaces that are used by the instance.
Namespaces that are used in the instance are always included, regardless of this setting.
|theFile||String||The path to the file on the local drive that will contain the XML instance.|
|theFlags||Long||Reserved. This must be 0.|
|theScheme||String||Reserved. Must be null.|
|theRootReference||String||A reference to the node you want to extract. 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. It defines the namespaces for the function. Use null if the node that this function is operating on has inherited the necessary namespaces.|
Form.ExtractInstance "Test", Nothing, vbNullString, _
"c:\InstanceData.txt", 0, vbNullString, vbNullString, Nothing