xml.DomDocument.prependDocumentNode

Adds a child DomNode object to the beginning of the DomNode children of a DomDocument object

Syntax

prependDocumentNode(
   n xml.DomNode )
  1. n defines the node to add.

Usage

Adds a child xml.DomNode object to the beginning of the DomNode children in this 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).