PyDocs

Nav

Structured Markup Processing Tools

dump

  • dump(elem)
Write element tree or element structure to sys.stdout.

This function should be used for debugging only.

*elem* is either an ElementTree, or a single Element.  The exact output
format is implementation dependent.  In this version, it's written as an
ordinary XML file.
Changed in 3.8
  • 3.8: The dump() function now preserves the attribute order specified by the user.
0 Examples
No examples for xml.etree.ElementTree/dump.
See Also
No see-alsos for xml.etree.ElementTree/dump
0 Notes
No notes for dump