PyDocs

Nav

Structured Markup Processing Tools

Node.toxml

  • Node.toxml(encoding=None, standalone=None)
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.
0 Examples
No examples for xml.dom.minidom/Node.toxml.
See Also
No see-alsos for xml.dom.minidom/Node.toxml
0 Notes
No notes for Node.toxml