title: Read xml data from url using curl and php
body: <p>I want to read XML data from a URL. I have the URL as follows:</p>
  <p><a href="http://www.arrowcast.net/fids/mco/fids.asp?sort=city&amp;city=&amp;number=&amp;airline=&amp;adi=A" rel="nofollow noreferrer">http://www.arrowcast.net/fids/mco/fids.asp?sort=city&amp;city=&amp;number=&amp;airline=&amp;adi=A</a></p>
  <p>Here is my code:</p>
  <pre><code>$Url=&quot;http://www.arrowcast.net/fids/mco/fids.asp?sort=city&amp;city=&amp;number=&amp;airline=&amp;adi=A&quot;;  
  if (!function_exists('curl_init')){
      die('Sorry cURL is not installed!');
  } 
     $ch = curl_init();
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_URL, $Url);   
  $output = curl_exec($ch);
  $resultCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  // Close the cURL resource, and free system resources
  curl_close($ch);
  </code></pre>
  <p>Could anyone please tell me how to read xml data?</p>