title: Parsing XML response from CURL - confused
body: <p>Using CURL, I send an xml file to a server and receive a 200 response and reciprocal XML file from said server.</p>
  
  <pre><code>$response = curl_exec($session);
  </code></pre>
  
  <p>So far so good.  If I do <code>print_r($response)</code> I see that the url i need is indeed inside <code>$response</code>.</p>
  
  <p>The question i have is how do i parse it out?  I try variations of the following but nothing seems to work:</p>
  
  <pre><code>$xml = new SimpleXMLElement($response);
  </code></pre>
  
  <p>Pointer in the right direction would be great.</p>
  
  <p>Thanks!</p>