title: SimpleXMLElement - string could not be parsed as XML
body: <p>I have a problem loading an external XML file.</p>
  
  <p>When I open it in a browser, everything looks good. I tried to download the XML file and upload it on my own server. When I try to load the XML file from my server, everything works well.</p>
  
  <p>Can somebody help me solve this problem, so that I can load it from the external server?</p>
  
  <p>My code:</p>
  
  <pre><code>$oXML_cz = new SimpleXMLElement(file_get_contents('http://www.ticketportal.cz/xml/temp/partnerall1.xml?ID_partner=122'));
  foreach ($oXML_cz-&gt;event as $event_cz)
  {
        ......
  }
  </code></pre>