The DomDocument class / xml.DomDocument methods |
Constructor of an empty DomDocument object.
xml.DomDocument.create() RETURNING object xml.DomDocument
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).
Create a DomDocument without a root node:
xml.domDocument.create()
Create a DomDocument with an initial root node named ARoot:
xml.domDocument.create("ARoot")