Load an XML file
- Last Updated: June 7, 2019
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
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:
|