Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset
Comments Off

Traiter ls éléments fils d’un Nœud


{filelink=16793}

from xml.dom import minidom
 
xmldoc = minidom.parse('c:/teste.xml')
grammarNode = xmldoc.firstChild
grammarNode.childNodes
print grammarNode.firstChild.toxml()
print grammarNode.childNodes[1].toxml()
print grammarNode.lastChild.toxml()

Livres Sur ce Sujet

----------------------------------------------------------------------------

Comments are closed.