xml.DomNode.appendChild

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

Syntax

appendChild(
  node xml.DomNode )
  1. node is 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 with the appropriate error number.