path = xsltKeyValue;
// set XSLT transformation URL (static)
setXsltTransformationURL(transformMediator, path);
}
// Mediate twice for synCtx
MessageContext synCtx = new TestMessageContextBuilder().addEntry(
xsltKeyValue, getClass().getResource(xsltFile)).setBodyFromString(
source).addTextAroundBody().build();
transformMediator.mediate(synCtx);
synCtx = new TestMessageContextBuilder().addEntry(
xsltKeyValue, getClass().getResource(xsltFile)).setBodyFromString(
source).addTextAroundBody().build();
transformMediator.mediate(synCtx);
}