Getting Child Nodes : DOM : XML PYTHON TUTORIALS


PYTHON TUTORIALS » XML » DOM »

 

Getting Child Nodes


from xml.dom import minidom                                        
xmldoc = minidom.parse('binary.xml')     
print xmldoc                                                                 

print xmldoc.childNodes                         
print xmldoc.childNodes[0]                           
print xmldoc.firstChild



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo XML
» DOM