return Node.class;
}
public Node transform(InputStream source, TransformationContext context) {
try {
DOMDocumentParser parser = new DOMDocumentParser();
Document doc = DOMHelper.newDocument();
parser.parse(doc, source);
return doc.getDocumentElement();
} catch (Exception e) {
throw new TransformationException(e);
}
}