title: How to turn off HTML5 validation rules in a Razor view that returns XML?
body: <p>In my MVC4 app I have a Razor view which returns some XML.</p>
  
  <p>In Visual Studio, all of the XML tags are highlighted as not being valid HTML5 markup.</p>
  
  <p>Ok, I could live with that - except the HTML5 validation is also not letting me use the <code>&lt;source&gt;</code> element in my XML as I would like.</p>
  
  <p>It actually causes my view to throw an error, presumably because my use of the <code>&lt;source&gt;</code> element is not valid in HTML5.</p>
  
  <p>How can I turn off the HTML5 validation in Razor, or tell it that my view is producing XML, not HTML?</p>