Why is rendering an rxml template so hard?

I want to do something very simple and basic. All that I want to do is
create an action that returns xml using an rxml template.
exempt_from_layout function does not work and rendering an rxml file
uses a layout for some reason.

Any ideas?

I want to do something very simple and basic. All that I want to do is
create an action that returns xml using an rxml template.
exempt_from_layout function does not work and rendering an rxml file
uses a layout for some reason.

At the end of your action method put:

render :layout => false

That should do it.