System.err.println(annot.query("slot[@name='surface']").get(0).getValue());
continue;
}
}
try {
xi.insertElement(ne, startOffset, endOffset);
} catch (Exception e) {
if(brittle) {
System.err.println(ne.toXML());
System.err.println(annot.getAttributeValue("from"));
System.err.println(annot.getAttributeValue("to"));