separate data from xml with props