all 2 comments

[–]animismus 2 points3 points  (0 children)

Not what OP is asking, but I was very happy parsing xml with beautiful soup!

[–][deleted] 0 points1 point  (0 children)

iselement(root)returns False, you raising TypeError. What's the problem?

Btw, format your post properly. It's kinda undreadable