Newer
Older
Import / applications / Python / PrettyPrintXml.py
@John John on 29 Dec 2020 141 bytes bulk import from macbookpro checkouts
#!/usr/bin/python


import sys
import xml.dom.minidom


xmlObj = xml.dom.minidom.parseString(sys.stdin.read())
print(xmlObj.toprettyxml())