toxml Works on Any Node : DOM : XML PYTHON TUTORIALS


PYTHON TUTORIALS » XML » DOM »

 

toxml Works on Any Node


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

grammarNode = xmldoc.firstChild 
print grammarNode.toxml()



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo XML
» DOM