Parsing XML from a URL : XML Parse : XML PYTHON examples


PYTHON examples » 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() 
           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo XML
» XML Parse