xml.DomDocument.removeDocumentNode

Removes a child DomNode object from the DomNode children in a DomDocument object.

Syntax

removeDocumentNode(
   n xml.DomNode )
  1. n defines the node to remove.

Usage

Removes a child DomNode object from the DomNode children in this DomDocument object, where n is the node to remove.

Only Text nodes, Processing Instruction nodes, Document Fragment nodes, one Element node, and one Document Type node allowed.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).