[ADD] Added fuctionality to export data in xml file.