Handling xml response