Newer
Older
Import / applications / Python / PrettyPrintXml.py
@John Ryland John Ryland on 22 Dec 2020 141 bytes import NUC files
#!/usr/bin/python


import sys
import xml.dom.minidom


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