Progress
Language Reference
REMOVE-CHILD( ) Method
Unlinks the node and its sub-tree from the XML document. The XML object is not deleted, only disconnected from the structure.
Return Type: LOGICAL Applies To: X-document Object Handle, X-noderef Object Handle
x-node-handle
The handle that represents the node to remove from the tree.
The following code fragment gets a reference to the fourth node on the document root, and removes it. hNoderef is still available for use after the remove, but is unlinked from hRoot:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |