| The streaming API for XML (StAX) classes / The StaxWriter class | |
Features of the xml.StaxWriter class.
| Feature | Description | 
|---|---|
| format-pretty-print | 
 Formats the output by adding whitespace to produce a pretty-printed, indented, human-readable form. Default value is FALSE.  | 
| smart-ending-elements | 
 Outputs each tag closed with an endElement() call as empty elements if they have no children. Default value is FALSE.  |