}
// First run jelly through xmlData:
result = configXml.getContent(groovyXml);
final GroovyEngine groovyEngine = new GroovyEngine(data, PFUserContext.getLocale(), PFUserContext.getTimeZone());
final String groovyXmlInput = groovyEngine.preprocessGroovyXml((String) result[0]);
final String xmlData = groovyEngine.executeTemplate(groovyXmlInput);
// Setup input for XSLT transformation
final StringReader xmlDataReader = new StringReader(xmlData);
final Source src = new StreamSource(xmlDataReader);