if (!engine.isInitialized()) {
engine.initialize();
}
// allow template fragment syntax to be used e.g. template.html :: area
final StandardFragment fragment = StandardFragmentProcessor.computeStandardFragmentSpec(
engine.getConfiguration(), new ProcessingContext(context), templateScript, null, "th:"
+ StandardFragmentAttrProcessor.ATTR_NAME);
// and pass the fragment name and spec then onto the engine
engine.process(fragment.getTemplateName(), context, fragment.getFragmentSpec(), out);
}catch(IOException x) {