Parsing soap result
Christian Heimes
christian at python.org
Wed Apr 17 14:05:48 EDT 2013
Am 17.04.2013 19:55, schrieb darnold:
> On Apr 17, 8:50 am, Ombongi Moraa Fe <moraa.lovetak... at 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.
More information about the Python-list
mailing list