Options for serializing a Document node into XML text.
Optional
Optional WriteReport accumulator to collect adjustments into.
If true, throws WriteError if any lossy adjustments are made (e.g. invalid XML tag sanitization).
Options for serializing a Document node into XML text.