Even though it is not the approach we usually employ, as we favour XSLT or Freemarker, WebLEAF also allows you to process the XML using the simplicity of Groovlets, which can be very convenient when you are already familiar with Groovy.
In the links of this section, you can see again that the XML can be generated using different languages and processed using the same Groovlet, which makes use of Groovy's XMLParser to process the XML and Groovlet's implicit MarkupBuilder to generate the HTML.
If you have not done so, check the previous sections, HTML and Freemarker, HTML and JSP..., and you can see that in this case, the implementations are the same but the presentation logic is different (Freemarker vs JSP vs Groovlets). This is also a demonstration of the MVC architecture, where one can re-use the same bussiness logic with different view technologies.
You can can see the sources of the various files that are used in this section, at the Fisheye repository: