PullTransformer<Node, XMLStreamReader> {
public XMLStreamReader transform(Node source, TransformationContext context) {
try {
DOMXMLStreamReader reader = new DOMXMLStreamReader(source);
return new XMLDocumentStreamReader(reader);
} catch (Exception e) {
throw new TransformationException(e);
}
}