Read XML input into ABL
- Last Updated: June 7, 2019
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
These steps describe how to read XML input into ABL and process it.
- Create an X-document object.
- Create an X-noderef object to represent your root node.
-
Use the
LOAD( )method to read the input file. -
Use the
GET-DOCUMENT-ELEMENT( )method to get the root node reference handle. -
Create an
X-noderefobject to represent nodes for your document. -
Using the
GET-CHILD( )method, read through the child nodes. -
Using the
GET-ATTRIBUTE( ) METHOD, theNAMEattribute, theNODE-VALUEattribute and other attributes and methods, access the XML data. - Update the database or other fields as necessary.
- Delete the objects.