xml.DomNode.getParentNode

Returns the parent DomNode object for this DomNode object.

Syntax

getParentNode()
  RETURNS xml.DomNode

Usage

This method returns the parent xml.DomNode object for this DomNode object, or NULL. In the case of a xml.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).