title: Parsing XML response in PHP (and/or Zend Framework)
body: <p>I am using the Zend Framework and using <code>Zend_Http_Client</code> to make a POST request to a third party API. </p>
  
  <pre><code>$client = new Zend_Http_Client('http://api.com');
  $client-&gt;setParameterPost(array(
      'param1' =&gt; 'value'
  ));
  $response = $client-&gt;request('POST');
  echo $response-&gt;getBody();
  </code></pre>
  
  <p>This API returns an XML document as its response. </p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;
  &lt;registration&gt;
      &lt;id&gt;12345&lt;/id&gt;
  &lt;/registration&gt;
  </code></pre>
  
  <p>How can I turn the response into something I can work with?</p>