take data from xml