xml.DomDocument.prependDocumentNode
Adds a child xml.DomNode
object to the beginning of
the xml.DomNode
children of this xml.DomDocument
object.
Syntax
prependDocumentNode(
n xml.DomNode )
- n defines the node to add.
Usage
Adds a child xml.DomNode
object to the beginning of the
xml.DomNode
children in this xml.DomDocument
object;
n is the node to add.
Important:
This method is not part of W3C standard API.
See getErrorsCount()
and getErrorDescription()
to retrieve error messages related to XML document.
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).