Parsing XML from a URL : XML Parse « XML « Python
- Python
- XML
- XML Parse
Parsing XML from a URL
import urllib
usock = urllib.urlopen('http://www.yourdomain.org/yourxmlfile.xml')
xmldoc = minidom.parse(usock)
usock.close()
print xmldoc.toxml()
Related examples in the same category