title: Returning XML file from Controller
body: <p>I have an XML file I want to return from my Spring MVC Controller but all the examples I've found use JAXB by first representing the data as an object (I know it's the regular case). In my case, the XML representation is static and stored in an XML file and I simply need to return this file from the Controller.</p>
  
  <p>I thought about reading the file using some XML parser and then pass the raw data to the Controller using some low-level Spring annotation but I'm sure there is a better way to do the same.</p>
  
  <p>Thanks</p>