Parsing XML from Local Files and Remote URLs : XML Parse « XML « Python
- Python
- XML
- XML Parse
Parsing XML from Local Files and Remote URLs

from xml.dom import minidom
fsock = open('binary.xml')
xmldoc = minidom.parse(fsock)
fsock.close()
print xmldoc.toxml()
Related examples in the same category