xml.StaxReader.setFeature

Sets a feature of a StaxReader object.

Syntax

setFeature(
   feature STRING,
   value STRING )
  1. feature is the name of a feature.
  2. value is the value of the feature.

Usage

See StaxReader Features for the full list of StaxReader features.

The features can be changed at any time, but will only be taken into account at the beginning of a new stream (see readFrom or readFromDocument).

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