Document.toPrettyString

Writes it out with whitespace for easier eyeball debugging

Do NOT use for anything other than eyeball debugging, because whitespace may be significant content in XML.

class Document
const
string
toPrettyString
(
bool insertComments = false
,,
string indentWith = "\t"
)
Suggestion Box / Bug Report