I\'m using Python\'s xml.etree.ElementTree to do some XML parsing on a file. However, I get this error mid-way through the document:
xml.etree.ElementTree
xml.parsers
I solve it by using yattag instead
yattag
from yattag import indent print indent(xml_string.encode('utf-8'))