Some Python Code Lines for Xml
Monday, 08 August 2010
p.childNodes[0].childNodes[0].lastChild.getAttribute("n")
p.getElementsByTagName("youtube")[0].lastChild.getAttribute("n")
int(x.childNodes[0].childNodes[0].lastChild.getAttribute("n"))
.lastChild.lastChild.childNodes.remove(aa.lastChild.lastChild.lastChild)
x.childNodes[0].childNodes[3].childNodes.length
childNodes[0].childNodes[ii].childNodes.pop().toxml()
aa.childNodes[0].childNodes[0].childNodes.pop(0).toxml()
e=x.childNodes[0].childNodes[enuzun].childNodes[0].getElementsByTagName("e")[0].firstChild.data