Tagged “xslt”

How to Generate an XSLT Transform Using Groovy StreamingMarkupBuilder

| |

Groovy and XSLT are two great options for working with XML. While both have their uses, I was curious about combining them to generate an XSLT transform with a Groovy script. It turns out that doing this is pretty straight forward, with a couple of minor caveats.

XML Transformation Performance: Groovy vs XSLT

| |

There’s a good variety of options available for transforming xml. In addition to the standards (XSLT and XQuery), Groovy has excellent XML manipulation support with MarkupBuilders and XMLSlurpers. I wanted to know how XSLT and Groovy compare in terms of performance, but couldn’t find anything online. So, I decided to measure it myself.