Am 17.04.2013 19:55, schrieb darnold: > On Apr 17, 8:50 am, Ombongi Moraa Fe <moraa.lovetak...@gmail.com> > wrote: > >> how do I use xml.etree.ElementTree to print the parameters address and >> deliveryStatus? Or is there a better python method? >> > > > I'm sure there are prettier ways to do this, but you can use XPath > syntax to find all of your ns1:result nodes and loop through them:
You want all {http://www.csapi.org/schema/parlayx/sms/send/v2_2/ local}result tags. The prefix isn't fixed. -- http://mail.python.org/mailman/listinfo/python-list