xml.DomNode.appendChildElement

Creates and adds a child XML Element node to the end of the list of child nodes for an XML Element DomNode object.

Syntax

appendChildElement(
   name STRING )
  RETURNS xml.DomNode
  1. name defines the XML Element name.

Usage

Creates and adds a child XML Element node to the end of the list of child nodes for this XML Element DomNode object.

Important: This method is not part of W3C standard API.

Returns the XML element DomNode 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).