<?xml version="1.0" ?>
<data>
<test >
<f1 />
</test >
<test2 >
<test3>
<f1 />
</test3>
</test2>
<f1 />
</data>
Using lxml is it possible to find recursively for tag " f1 "? I tried findall method but it works only for immediate children.
I think I should go for BeautifulSoup for this !!!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…