StaxWriter Features

Features of the xml.StaxWriter class.

Table 1. StaxWriter features
Feature Description

Formats the output by adding whitespace to produce a pretty-printed, indented, human-readable form.

Default value is FALSE.


Outputs each tag closed with an endElement() call as empty element if it has no children.

Default value is FALSE.