xml.StaxWriter.setFeature
Sets a feature of a StaxWriter object.
Syntax
setFeature(
property STRING,
value STRING )
- property defines the name of a feature.
- value is the value of the feature.
Usage
Use this method to set a feature of a StaxWriter
object, where
property 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. 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).