String id = neMap.get(fromto).get(0);
Element annot = (Element)saf.query("/saf/annot[@id='" + id + "']").get(0);
System.out.println(annot.toXML());
String xpfrom = annot.getAttributeValue("from");
String xpto = annot.getAttributeValue("to");
Nodes newAnnotNodes = newSaf.query("/saf/annot[@from='" + xpfrom + "'][@to='" + xpto + "']");
System.out.println(xpfrom + "\t" + xpto + "\t" + newAnnotNodes.size());
if(newAnnotNodes.size() > 0) {
String oid = null;
String ooid = null;
for(int k=0;k<newAnnotNodes.size();k++) {