title: Bizarre "@namespace" and styling information in XML document
body: <p>I am getting an XML document like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  @namespace html url(http://www.w3.org/1999/xhtml); :root { font:small Verdana; font-wei.... huge list of styling
  &lt;items&gt;
      &lt;item&gt;
      ...
  </code></pre>
  
  <p>That second line seems to be preventing me from parsing the file.</p>
  
  <h2>Using Tidy</h2>
  
  <pre><code>&lt;?php
  $config = array(
         'indent'     =&gt; true,
         'input-xml'  =&gt; true,
         'output-xml' =&gt; true,
         'wrap'       =&gt; false);
  $tidy = new tidy;
  $tidy-&gt;parseFile('https://website.com/path/to/XML.ashx?param=12345', $config);
  $tidy-&gt;cleanRepair();
  
  print_r($tidy);
  ?&gt;
  </code></pre>
  
  <p>which will result in:</p>
  
  <pre><code>tidy Object
  (
      [errorBuffer] =&gt; 
      [value] =&gt; &lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  )
  </code></pre>
  
  <h2>Using simplexml_load_file()</h2>
  
  <pre><code>&lt;?php
  $xml = simplexml_load_file('https://website.com/path/to/XML.ashx?param=12345');
  print_r($xml);
  ?&gt;
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>**Warning**: simplexml_load_file(): https://website.com/path/to/XML.ashx?param=12345:1: parser error : Start tag expected, '&lt;' not found in **C:\xampp\htdocs\local\php\script.php** on line 2
  
  **Warning**: simplexml_load_file(): &lt;?xml version="1.0" encoding="utf-8" ?&gt; in **C:\xampp\htdocs\local\php\script.php** on line 2
  
  **Warning**: simplexml_load_file(): ^ in **C:\xampp\htdocs\local\php\script.php** on line 2
  </code></pre>
  
  <p>I've also tried various cURL options and simply file_get_contents()</p>
  
  <p>My question is: What is that second line of XML and how can I parse this file?</p>