Update XMLParse.py to conform to Python best coding practises. use pylint inside Spyder IDE