How do I parse XML from an API response?