Document doc = docBuilder.newDocument();
XPathEvaluator xpath = new XPathEvaluator(((TransformerFactoryImpl)tfactory).getConfiguration());
DocumentInfo saxonDoc = (DocumentInfo)xpath.setSource(new SAXSource(new InputSource(sourceID)));
NodeInfo top = (NodeInfo)saxonDoc.iterateAxis(Axis.CHILD, NodeKindTest.ELEMENT).next();
Node imported = doc.importNode(NodeOverNodeInfo.wrap(top), true);
// Serialize the output so we can see the import actually worked
Transformer serializer = tfactory.newTransformer();