xml.DomDocument.loadFromPipe

Loads an XML Document into a DomDocument object from a PIPE.

Syntax

loadFromPipe(
   cmd STRING )
  1. cmd is the command to read from the PIPE.

Usage

Loads an XML Document into a DomDocument object from a PIPE where cmd is the command to read from the PIPE.

CAUTION:
Not part of W3C API.

See setFeature() to specify how the document can be loaded. HTML parsing is possible when enable-html-compliancy is enabled.

See getErrorsCount() and getErrorDescription() to retrieve error messages related to XML document loading.

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