xml.DomNode.prependChildElement

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

Syntax

prependChildElement(
   name STRING )
  RETURNS xml.DomNode
  1. name defines the name of the XML element to add.

Usage

Use this method to create and add a child XML Element node to the beginning of the list of child nodes for this XML Element DomNode object; name is the name of the XML element to add.

It returns the XML Element DomNode object, or NULL.

Important:

This method is not part of W3C standard API.

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