how to render a doctype with python's xml.dom.minidom?,print(doc.toxml())