Consultor Eletrônico



Kbase P50598: Does the DELETE OBJECT statement used to delete an X-NODEREF
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/31/2003
Status: Unverified

GOAL:

Does the DELETE OBJECT statement used to delete an X-NODEREF object also delete its children?

FIX:

Using DELETE OBJECT to delete an X-NODEREF does not delete the nodes in the XML document tree that the X-NODEREF point to.

An X-NODEREF is a kind of cursor or pointer which you use to navigate the the tree and maintain a position to some place in the document tree. Deleting the pointer does not delete the thing it points to.

Using the DELETE-NODE() method to delete a parent node in the tree, also deletes any child nodes under that parent node.