accepting xml for further usage