The StaxWriter class

The xml.StaxWriter class provides methods compatible with StAX (Streaming API for XML) for writing XML documents.

The STATUS variable is set to zero after a successful method call.