xml.DomNode.prependChildElementNS
Creates and adds a child namespace-qualified XML Element node to the beginning of the list of child nodes for an XML Element DomNode object.
Syntax
prependChildElementNS(
prefix STRING,
name STRING,
ns STRING )
RETURNS xml.DomNode
- prefix defines the prefix of the XML Element to add.
- name defines the name of the XML Element to add.
- ns defines the namespace URI of the XML Element to add.
Usage
Use this method to create and add a child namespace-qualified XML Element node to the beginning
of the list of child nodes for this XML Element DomNode
object.
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).