<div dir="ltr"><div class="gmail_extra">Grazie ragazzi a tutti e due. Matteo, Dario.</div><div class="gmail_extra">Risolto riusato tutti i vostri suggerimenti. </div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 10:06 PM, Matteo Scarpa <span dir="ltr"><<a href="mailto:matteoscarpa92@gmail.com" target="_blank">matteoscarpa92@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":f7" class="a3s" style="overflow:hidden">from lxml import etree<br>
root = etree.parse('x.xml')<br>
result=""<br>
for element in root.xpath('//a/tr'):<br>
for single in element:<br>
result=result+str(single.text)<br>
result=result+"/n"<br>
print(result)</div></blockquote></div><br><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Gervasini Andrea<br><div><br></div></div></div>
</div></div>