xml.DomDocument.normalize

Normalizes the entire Document.

Syntax

normalize()

Usage

Normalizes the entire Document. This method merges adjacent text nodes, removes empty text nodes, and sets namespace declarations as if the document had been 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).