from xml.dom import minidomxmldoc = minidom.parse('stations.xml')doc_root = xmldoc.documentElementnodeList = xmldoc.childNodesfor node in nodeList: print node.toprettyxml()doc_root.removeChild(doc_root.childNodes[0])nodeList = xmldoc.childNodesfor node in nodeList: print node.toprettyxml()
Name (required)
email (will not be published) (required)
Website