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