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