Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43771
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1366221957; bh=J7a5ePCCr5qFya0hU5Pr/y6tR81S4kuhR2OZppCpbCY=; h=To:From:Subject:Date:Message-ID:References:Mime-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=ObhFtCLzZQHyxCa4d5+0H/6vIAlFSkOrkFqj4k1ufu0KtXEIj41ck1CEoxyNurGum wr2o5fZ5S+PVUlgUCwWSfm7CbG2ZOZXdx36B8jFSwXWR3mhtyRBDfwISoru7m513Ew 3ScCjPEfXlq3W9XY0QKAEFHlqdhkPSwOrWdQGhtA= |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'parameters': 0.04; 'syntax': 0.04; 'prefix': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'from:name:christian heimes': 0.16; 'nodes': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'tags.': 0.16; 'from:addr:python.org': 0.16; 'wrote:': 0.18; 'print': 0.22; 'header:User-Agent:1': 0.23; 'fixed.': 0.24; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; "i'm": 0.30; 'but': 0.35; 'there': 0.35; 'url:org': 0.36; 'to:addr :python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'address': 0.63 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Christian Heimes <christian@python.org> |
| Subject | Re: Parsing soap result |
| Date | Wed, 17 Apr 2013 20:05:48 +0200 |
| References | <mailman.723.1366206668.3114.python-list@python.org> <28fde565-f8c0-4995-b5a1-2ac2509712dc@l5g2000yqe.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | f048172230.adsl.alicedsl.de |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
| In-Reply-To | <28fde565-f8c0-4995-b5a1-2ac2509712dc@l5g2000yqe.googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.730.1366221958.3114.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366221958 news.xs4all.nl 2195 [2001:888:2000:d::a6]:53424 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43771 |
Show key headers only | View raw
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Parsing soap result Ombongi Moraa Fe <moraa.lovetakes2@gmail.com> - 2013-04-17 16:50 +0300
Re: Parsing soap result darnold <darnold992000@yahoo.com> - 2013-04-17 10:55 -0700
Re: Parsing soap result Christian Heimes <christian@python.org> - 2013-04-17 20:05 +0200
Re: Parsing soap result darnold <darnold992000@yahoo.com> - 2013-04-17 12:14 -0700
csiph-web