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.
I have tried appending to the url:
- ?tmpl=component
- ?format=raw
- ?tmpl=raw
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.
How can I output XML from my component without any of the additional Joomla + template HTML?