title: Display string in xml format in browser either using view or controller
body: <p>I have a string in my model.The string is actually XML content. I have a link on my page, when clicked it opens a new tab and displays the text as XML.</p>
  
  <p>The result should be the same as when I right click on an xml file and open with Internet Explorer. The difference is that this is no file, its text that I need to display as XML in a new tab.</p>
  
  <p>Anyone have an idea how to achieve this without creating a file and without giving a path to a file.</p>