The StaxWriter class / xml.StaxWriter methods |
Sets a feature of a StaxWriter object.
setFeature( feature STRING, value STRING )
Sets a feature of a StaxWriter object, where feature is the name of a feature, and value is the value of the feature. The features can be changed at any time, but will only be taken into account at the beginning of a new stream (see writeTo or writeToDocument).
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.