FORMATTED attribute Determines the format of XML output from a SAX-writer object. Data type: LOGICAL Access: Readable/Writeable Applies to: SAX-writer object handle The default value is FALSE. TRUE indicates that the SAX-writer should format the document with additional white space, carriage returns, and line feeds, so that the elements display in a hierarchical manner. FALSE indicates the SAX-writer should create an optimized document that includes no extra white space. You can read this attribute at all times, but you can only write to it when the WRITE-STATUS is either SAX-WRITE-IDLE or SAX-WRITE-COMPLETE. That is, you can only change the attribute when the SAX-writer is not writing, otherwise the call fails and generate an error message.