XML : XML Python search object by line

I'm looking for way to get entire element from xml file using python 2.7, based on line number where error occurs.

http://pastebin.com/GjmPwg1a here is an example of my xml file (in full version there is millions of lines).

I need to get everything between <featureMember> tag and have no brightest idea how to achive that, so any help would be appreciated. Thanks a lot.

No comments:

Post a Comment