title: XML Parsing Error: not well-formed Location: file:///C:/Users/user/Desktop/Project%202/test.php Line Number 1, Column 3
body: <p>I'm trying to get this RSS feed into my page but I get XML Parsing error: now well formed location. I googled this problem but I couldn't find anything related to not well formed location. </p>
  
  <p>Here's my PHP</p>
  
  <pre><code>&lt;? $rss = simplexml_load_file('http://feeds.bbci.co.uk/news/england/rss.xml');
  
  echo '&lt;h1&gt;'. $rss-&gt;channel-&gt;title . '&lt;/h1&gt;';
  
  foreach ($rss-&gt;channel-&gt;item as $item) {
     echo '&lt;h2&gt;&lt;a href="'. $item-&gt;link .'"&gt;' . $item-&gt;title . "&lt;/a&gt;&lt;/h2&gt;";
     echo '&lt;p&gt;' . $item-&gt;pubDate . '&lt;/p&gt;';
     echo '&lt;p&gt;' . $item-&gt;description . '&lt;/p&gt;';
  }
  
  ?&gt;
  </code></pre>
  
  <p>jQuery</p>
  
  <pre><code>function rss(){
    $.ajax({
      type: 'POST',
      url: 'test.php',
      dataType: 'xml',
      success: function (html){
        console.log(html);
      }
    });
  }
  </code></pre>