xml.DomDocument.Create

Constructor of an empty DomDocument object.

Syntax

xml.DomDocument.Create()
  RETURNS xml.DomDocument

Usage

Constructor of an empty DomDocument object.

Returns a DomDocument object.

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

Example

Create a DomDocument without a root node:

xml.domDocument.Create()

Create a DomDocument with an initial root node named ARoot:

xml.domDocument.Create("ARoot")