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