python-devtools icon indicating copy to clipboard operation
python-devtools copied to clipboard

pretty print XML ElementTree

Open samuelcolvin opened this issue 4 years ago • 3 comments

Display it as XML, something like this.

samuelcolvin avatar Feb 02 '21 17:02 samuelcolvin

What is this issue about? Could you please elaborate? What should be pretty printed? the XML file, the string which can be parsed by XML or the full output should be converted to XML?

sshishov avatar Nov 24 '22 11:11 sshishov

I think objects of type xml.etree.ElementTree

alexmojaki avatar Nov 25 '22 10:11 alexmojaki

exactly, currently this library doesn't know how to pretty print them I think.

samuelcolvin avatar Nov 25 '22 10:11 samuelcolvin