Re: [Tutor] getAttribute

2006-03-31 Thread Kent Johnson
kakada wrote: > Hello all, > > Could anyone help me by giving example of getAttribute > > xmldata = ziparchive.read("content.xml") > xmldoc = minidom.parseString(xmldata) > officeNode = xmldoc.getElementsByTagName('office:text') > > I have another function: > def go_thru (nodelist): > for x

[Tutor] getAttribute

2006-03-31 Thread kakada
Hello all, Could anyone help me by giving example of getAttribute xmldata = ziparchive.read("content.xml") xmldoc = minidom.parseString(xmldata) officeNode = xmldoc.getElementsByTagName('office:text') I have another function: def go_thru (nodelist): for x in range(nodelist.length): n