Parent: $root.$constants
| kXMLEncodingISO8859 | Output is encoded using ISO-8859-1 |
| kXMLEncodingUSASCII | Output is encoded using US-ASCII |
| kXMLEncodingUTF16BE | Output is encoded using UTF-16BE (Big-endian) |
| kXMLEncodingUTF16LE | Output is encoded using UTF-16LE (Little-endian) |
| kXMLEncodingUTF8 | Output is encoded using UTF-8 |
| kXMLFormatBasic | The output XML is formatted by the insertion of tabs and carriage-return linefeed sequences |
| kXMLFormatFull | The output XML is formatted by the insertion of tabs and carriage-return linefeed sequences; in addition,text nodes are formatted by removing leading and trailing spaces, and all tabs, carriage returns and linefeeds |
| kXMLFormatFullFlatText | The output XML is formatted as for kXMLFormatFull,but in addition,if the only non-whitespace child of an element is a text node,the text and element are output on the same line |
| kXMLFormatNone | The output XML is not formatted by the insertion of tabs and carriage-return linefeed sequences |
| kXMLNodeAttribute | An attribute node |
| kXMLNodeCDATASection | A CDATA section node |
| kXMLNodeComment | A comment node |
| kXMLNodeDocument | A document node |
| kXMLNodeDocumentFragment | A document fragment node |
| kXMLNodeDocumentType | A document type node |
| kXMLNodeElement | An element node |
| kXMLNodeEntity | An entity node |
| kXMLNodeEntityReference | An entity reference node |
| kXMLNodeNotation | A notation node |
| kXMLNodeProcessingInstruction | A processing instruction node |
| kXMLNodeText | A text node |