04 ExtractXML - AndrewMB2/Logic-Architect-for-Excel-VBA GitHub Wiki
ExtractXML method
Extracts an ArrData object from a XML file/object created using SaveAllXML. Returns True if successful, otherwise False.
Applies to
| TableData | ArrData | RsetData | Xdata | XShared |
|---|---|---|---|---|
| ✓ |
Parameters
| Name | Type | Description |
|---|---|---|
| FileName | Variant | Name/path of the file or MSXML2.DOMDocument.6.0 object containing this data. |
Extracts an ArrData object from a XML file or MSXML2.DOMDocument.6.0 object created using SaveAllXML, which stores multiple ArrData objects in a single XML file. The ThisObjName property of the ArrData object must be set first, as this identifies which ArrData object is to be extracted. RsetData must also be present.
FileName will be changed to the MSXML2.DOMDocument.6.0 object containing all the ArrData objects, so the method can be used again to extract other ArrData objects directly from this object without reloading it.