Modified parsing XML file.