xml.DomDocument.clone

Returns a copy of a DomDocument object.

Syntax

clone()
  RETURNING object xml.DomDocument

Usage

Returns a copy of this DomDocument object, or NULL.

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