Add the XML method

martini-contrib/render#27