from xml.dom import minidom fsock = open('binary.xml') xmldoc = minidom.parse(fsock) fsock.close() print xmldoc.toxml()
Name (required)
email (will not be published) (required)
Website