xml.DomDocument.saveToPipe

Saves a DomDocument object as an XML Document to a PIPE.

Syntax

saveToPipe(
   cmd STRING )
  1. cmd is the command to start the pipe.

Usage

Saves a DomDocument object as an XML Document to a PIPE, where cmd is the command to start the pipe.

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