title: Blade View not rendering xml
body: <p>I am trying to create an XML file in Laravel. I am passing data to a view.</p>
  
  <p>However, the XML is not rendering.</p>
  
  <p>This is what I am doing in my view</p>
  
  <pre><code>&lt;?php header('Content-Type: text/xml'); ?&gt;
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&gt;
  
  @foreach ($merchants as $merchant)
  &lt;url&gt;
  &lt;loc&gt;{{ $merchant-&gt;merchant_url_text }}&lt;/loc&gt;
  &lt;/url&gt;
  @endforeach
  
  &lt;/urlset&gt;
  </code></pre>
  
  <p>This however is just printing the variable $merchant->merchant_url_text multiple times without any structure.</p>
  
  <p>Any help with what I am doing wrong.</p>