Update XML_Parser.py

Try-Catch has been added to element finding loop(s)