The LOAD( ) method reads the specified file into memory, parses it, optionally validates it, and makes its contents available to ABL. Once the XML file is in memory, you must get the handle to its root element by using the GET-DOCUMENT-ELEMENT( ) method. Once you have the root node handle, you can manipulate the remaining child nodes.
The following code fragment demonstrates loading an XML file called myfile.xml:
DEFINE VARIABLE hDocMine AS HANDLE NO-UNDO.
DEFINE VARIABLE hRootMine AS HANDLE NO-UNDO.