xml.DomNode.isAttached

Returns whether the node is attached to the XML document.

Syntax

isAttached()
  RETURNING num INTEGER

Usage

Returns whether the node is attached to the XML document.

CAUTION:
Not part of W3C API.

Returns TRUE if this DomNode object is attached to a DomDocument object as a child and was not removed later on; otherwise it returns FALSE.

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