xml.DomNode.appendChild

Adds a child DomNode object to the end of the child list for a DomNode object

Syntax

appendChild(
  newChild xml.DomNode )
  1. newChild defines the node to add

Usage

Adds a child DomNode object to the end of the child list for this DomNode object.

The DomNode object node must be the child of an element or document node; otherwise the operation fails.

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