implement loadDataFromXML