Answer the question
In order to leave comments, you need to log in
Python: how to parse this with lxml?
How to parse this piece using the lxml (python)
code library
<gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01" xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref">
<gesmes:subject>Reference rates</gesmes:subject>
<gesmes:Sender>
<gesmes:name>European Central Bank</gesmes:name>
</gesmes:Sender>
<Cube>
<Cube time="2015-01-02">
<Cube currency="USD" rate="1.2043"/>
<Cube currency="JPY" rate="145.21"/>
<Cube currency="BGN" rate="1.9558"/>
<Cube currency="CZK" rate="27.693"/>
<Cube
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question