xml.DomNode.getParentNode

Returns the parent DomNode object for this DomNode object.

Syntax

getParentNode()
  RETURNING object xml.DomNode

Usage

Returns the parent DomNode object for this DomNode object, or NULL. In the case of a DomDocument node, this method will return NULL (parent is not a DomNode object) but isAttached() will return TRUE.

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).