}
public String evaluateBody(String originalBody, TransformContext context) throws TCDLTransformerException {
StringWriter writer = new StringWriter();
TagHandlerRegistry registry = getHandlerRegistry();
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();
}