I needed a method to access sitemap.xml and build it with a controller (and cache it).
Why? Because I have multiple domains using same root and sitemap.xml, but the contents of the sitemap is different.
Here you can find a pierce of code how to do this: http://scrp.at/s_