title: Pretty print Python xml.dom.Element object
body: <p>I have an xml.dom.Element object and would like to convert it to a string containing XML. There doesn't seem to be a method for this or am I missing something?</p>