Parse data from XML file