I ended up with something like this:
http://pastebin.com/Y9keC9tB
Chris
On Mon, Sep 19, 2011 at 8:42 PM, Chris Rowson
wrote:
> Thanks all!
>
> Chris
>
> On Mon, Sep 19, 2011 at 6:49 PM, Phyo Arkar wrote:
>> I like lxml more , and check pyquery! jQuery of python at server side.
>>
>> On 9/20/1
Thanks all!
Chris
On Mon, Sep 19, 2011 at 6:49 PM, Phyo Arkar wrote:
> I like lxml more , and check pyquery! jQuery of python at server side.
>
> On 9/20/11, Bruno Rocha wrote:
>> I dont know your needs but, you can pass any XML to web2py TAG[''] helper so
>> then you can use Server side DOM to
I like lxml more , and check pyquery! jQuery of python at server side.
On 9/20/11, Bruno Rocha wrote:
> I dont know your needs but, you can pass any XML to web2py TAG[''] helper so
> then you can use Server side DOM to inspect
>
> http://web2py.com/book/default/chapter/05#Server-side-DOM-and-Pars
I dont know your needs but, you can pass any XML to web2py TAG[''] helper so
then you can use Server side DOM to inspect
http://web2py.com/book/default/chapter/05#Server-side-DOM-and-Parsing
I did look at that Bruno, but some of the articles I read suggested that it
is not very memory efficient?
Chris
On Sep 19, 2011 3:44 PM, "Bruno Rocha" wrote:
> I use xml minidom and it is easier.
>
> http://zerp.ly/rochacbruno
> Em 19/09/2011 11:40, "Chris Rowson"
escreveu:
>> Thank you Michele,
I use xml minidom and it is easier.
http://zerp.ly/rochacbruno
Em 19/09/2011 11:40, "Chris Rowson" escreveu:
> Thank you Michele,
>
> Chris
>
> On Mon, Sep 19, 2011 at 2:00 PM, Michele Comitini
> wrote:
>> There is nothing wrong with your code. Maybe it is better to use
>> find() to get the tag
Thank you Michele,
Chris
On Mon, Sep 19, 2011 at 2:00 PM, Michele Comitini
wrote:
> There is nothing wrong with your code. Maybe it is better to use
> find() to get the tag.
> If you have an XSD schema you can use generateDS
> http://www.rexx.com/~dkuhlman/generateDS.html
> to have a python par
There is nothing wrong with your code. Maybe it is better to use
find() to get the tag.
If you have an XSD schema you can use generateDS
http://www.rexx.com/~dkuhlman/generateDS.html
to have a python parser.
But if you can use the JSON API... much simpler.
mic
2011/9/19 Chris Rowson :
> Anybod
Anybody using xml.etree?
I asked this question over at the Python tutors group but it seems
that few people there had experience of it.
I'm trying to access a UK postcode API at www.uk-postcodes.com to take
a UK postcode and return the lat/lng of the postcode. This is what the
XML looks like: htt
9 matches
Mail list logo