Parse xml response

Add support to parse XML response data.