DocumentBuilder documentBuilder = getDocumentBuilder();
OutputDocument output = new OutputDocument();
TagDispatcher dispatcher = new TagDispatcher(context, output, registry);
TCDLParser parser = new TCDLParser(registry.getNamespaceList(), null);
parser.parse(dispatcher, originalBody);
documentBuilder.buildDocument(context, output, writer);
return writer.toString();
}
/**
* Evaluate an expresison if it's in a ${expression} notation. Otherwiese, return the original expression.