parsing a XML file

weekly challenge 37