# XML parsing
import xml.dom.minidom as minidom
def parse_str(str_): return minidom.parseString(str_).documentElement