Progress
External Program
Interfaces


Accessing the Child Nodes

Before you can work with a child node of an XML document, you must create a node reference object with which to access the node. Then you access the node by using the GET-CHILD( ) method. The following code fragment shows obtaining the third child node of the parent node, hParent:

. . .
DEFINE VARIABLE hChildNode AS HANDLE.
CREATE X-NODEREF hChildNode.
logvar = hParent:GET-CHILD(hChildNode,3).
. . . 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095