serializeOdfXml
fn
string serializeOdfXml(XmlDocument doc, bool pretty = false)Serializes an XmlDocument to a string.
Parameters
doc | The XmlDocument to serialize. |
pretty | Whether to produce indented output. Defaults to false. |
Returns
The XML document as a string.
Throws
OdfXmlException when serialization fails.