from xml.dom import minidom xmldoc = minidom.parse('binary.xml') print xmldoc grammarNode = xmldoc.firstChild print grammarNode refNode = grammarNode.childNodes[1] print refNode print refNode.childNodes pNode = refNode.childNodes[2] print pNode print pNode.toxml() print pNode.firstChild print pNode.firstChild.data
Name (required)
email (will not be published) (required)
Website