Staging: this is not the live site, pydocs.org.
Structured Markup Processing Tools
Return a string or byte string containing the XML represented by the DOM node.
Changed in 3.8, 3.9
- 3.8: The toxml() method now preserves the attribute order specified by the user.
- 3.9: The standalone parameter was added.