XMLInserter xi = new XMLInserter(targetElem, "a", "c");
XMLSpanTagger xst = new XMLSpanTagger(snippet, "b");
Nodes neNodes = snippet.query(".//ne");
for(int j=0;j<neNodes.size();j++) {
xi.insertTaggedElement((Element)neNodes.get(j));
}
xst.deTagDocument();
xi.deTagDocument();
} catch (Exception e) {