= Python minidom = DOM (Document Object Model interface) * https://docs.python.org/2/library/xml.dom.minidom.html == XML parse with minidom == {{{#!highlight python from xml.dom import minidom print("Hello world") a="aaaabbcc" doc = minidom.parseString(a) # return document tags = doc.getElementsByTagName("b") for t in tags: print(t.firstChild.nodeValue) print( doc.toprettyxml() ) }}}