|theNode ||formNodeP||The root node of the form or an XML instance node.|
|theInstanceID||r_charP||The ID of the instance node to extract. This is defined by the id attribute of that node.
If theNode parameter is the instance node you want to extract, set this parameter to NULL.|
|theFilter||formNodeP||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||r_charP||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||r_charP||The path to the file on the local drive that will contain the XML instance.|
|theFlags||r_u_long||Reserved. This must be 0.|
|theScheme||r_charP||Reserved. Must be NULL.|
|theRootReference||r_charP||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||formNodeP||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.|
r_error updateDataInstance(formNodeP theForm)
if (UFLExtractInstance(theForm, "data", NULL, NULL,
"c:\Instance Files\Personnel\tempdata.dat", 0, NULL, NULL, NULL)
fprintf(stderr, "Could not extract data instance.");