GET-DOCUMENT-ELEMENT ( x-node-handle )
|
/* Creates an ABL document object & initializes the associated XML
object. */ CREATE X-document hDoc. /* Creates an ABL reference for an XML node in a parse tree. */ CREATE X-NODEREF hRoot. /* Reads the myxml.xml document into an XML parse tree. */ hDoc:LOAD("file","myxml.xml",false). /* Associates hRoot with the root node of the hDoc document. */ hDoc:GET-DOCUMENT-ELEMENT(hRoot). |