title: php get xml from remote url not a file
body: <p>I am trying to get the xml data from this url.</p>
  
  <p><a href="http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V" rel="noreferrer">http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V</a>
  I can enter the url directly into my browser bar and get the required result.</p>
  
  <p>I am trying to use the code below to fetch the xml and return it to my browser but now in the correct domain so it can be accessed by javascript.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;link type='text/css' rel='stylesheet' href='style.css'/&gt;
      &lt;title&gt;Get Started!&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;p&gt;&lt;?php 
      /*echo file_get_contents("http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V");*/
      echo simplexml_load_file("http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V");
      ?&gt;&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I have tried both file_get_contents and simplexml_load_file 
  but neither have worked out</p>
  
  <p>I had assumed the problem was with the fact that there is not a file at the end of url.
  NONE OF BELOW WORKING SO FAR</p>