public XMLDocument transform(XMLStreamReader source, TransformationContext context) {
try {
HelperContext helperContext = SDOContextHelper.getHelperContext(context);
XMLStreamHelper streamHelper = SDOUtil.createXMLStreamHelper(helperContext.getTypeHelper());
return streamHelper.load(source);
} catch (Exception e) {
throw new TransformationException(e);
}
}