xml.DomNode.appendChildElementNS

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

Syntax

appendChildElementNS(
   prefix STRING,
   name STRING,
   ns STRING )
  RETURNING object xml.DomNode
  1. prefix is the prefix of the XML Element to add.
  2. name is the name of the XML Element to add.
  3. ns is the namespace URI of the XML Element to add.

Usage

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

CAUTION:
Not part of W3C 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).