NormalizedMessage out = me.getMessage("out");
DocumentResult result = new DocumentResult();
TransformerFactory.newInstance().newTransformer().transform(out.getContent(), result);
return result.getDocument();
} catch (Exception e) {
throw new EngineRuntimeException(e);
}
}