The DomDocument class / xml.DomDocument methods |
Saves a DomDocument object as an XML Document to a string.
saveToString() RETURNING result STRING
Saves a DomDocument object as an XML Document to a string. Returns the string that will contain the resulting document.
See setFeature() to specify how the document can be saved.
See getErrorsCount() and getErrorDescription() to retrieve error messages related to XML document saving.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.