enum Poco::XML::XMLWriter::Options
Overview
#include <XMLWriter.h> enum Options { CANONICAL = 0x00, CANONICAL_XML = 0x01, WRITE_XML_DECLARATION = 0x02, PRETTY_PRINT = 0x04, PRETTY_PRINT_ATTRIBUTES = 0x08, };
Detailed Documentation
Enum Values
CANONICAL
Do not write an XML declaration (default).
CANONICAL_XML
Enables basic support for Canonical XML :
- do not write an XML declaration - do not use special empty element syntax - set the New Line character to NEWLINE_LF - write namespace declarations and attributes in canonical order - use default namespace as much as possible
WRITE_XML_DECLARATION
Write an XML declaration.
PRETTY_PRINT
Pretty-print XML markup.
PRETTY_PRINT_ATTRIBUTES
Write each attribute on a separate line.
PRETTY_PRINT must be specified as well.