Nodes nes = sdoc.query("//ne|//datasection");
for(int i=0;i<nes.size();i++) {
XOMTools.removeElementPreservingText((Element)nes.get(i));
}
StandoffTable st = new StandoffTable(sdoc.getRootElement());
if(offsets != null && offsets.size() > 0) {
//String paperStr = doc.getValue();
List<Integer> startOffsets = new ArrayList<Integer>();
List<Integer> endOffsets = new ArrayList<Integer>();