xml.DomDocument.saveToString

Saves a DomDocument object as a XML Document to a string.

Syntax

saveToString() 
  RETURNS STRING

Usage

Saves a DomDocument object as a XML Document to a string. Returns the string that will contain the resulting document.

Important:

This method is not part of W3C standard API.

See setFeature() to specify how the document can be saved.

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