string writeXml(XmlDocument document, XmlWriteOptions options = XmlWriteOptions.init)
Serializes a document to an XML string.
document
options