Parsing XML from Local Files and Remote URLs : XML Parse : XML PYTHON examples


PYTHON examples » XML » XML Parse »

 

Parsing XML from Local Files and Remote URLs


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()                              
           
         
  



Leave a Comment / Note


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


PYTHON examples

 Navioo XML
» XML Parse