Add an html and xml view

I split out the rendering of the sitemap into a view file which allows for a HTML sitemap as well as the XML one.
Is this `[]` syntax intended?