XMLDocument.print()

Returns string containing XML content.