private void init() {
        // this prevents an excess build up of whitespace
        Format compactFormat = Format.getCompactFormat();
        compactFormat.setIndent( DEFAULT_INDENT );
        compactFormat.setTextMode( TextMode.NORMALIZE );
        setFormat( compactFormat );
    }
This constructor performs basic setup that can be changed later by the user.  For example,
<pre>
     setTextNormalize( true );
     setIndent( DEFAULT_INDENT );
     setNewlines( true );
</pre>
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/GenericXMLOutputter.java