given this in a grails action:
def xml = {
rss(version: '2.0') {
...
}
}
render(contentType: 'application/rss+xml', xml)
i see this:
<rss><channel><title></title><description></description><link></link><item></item></channel></rss>
is there an easy way to pretty print the xml? something built into the render method, perhaps?