title: Joomla component: Output without html
body: <p>I am developing a Joomla component for Joomla 2.5. Since it's supposed to output XML, I most defenitely don't want to display the surrounding template.</p>
  
  <p>I have tried appending to the url:</p>
  
  <ul>
  <li>?tmpl=component</li>
  <li>?format=raw</li>
  <li>?tmpl=raw</li>
  </ul>
  
  <p>But the first will generate some HTML around the content output and the second gives me a 500 error. The third one generates no output at all. I assume it's looking for a template named "raw", because any other gibberish template name I put there gives me the same result.</p>
  
  <p>How can I output XML from my component without any of the additional Joomla + template HTML?</p>