String name = helper.getQName(f); String id = helper.getIDREF(target); doc.startElement(name); doc.endContentElement(id);
saveElement(target, helper.getIDREF(target), f);
  protected void saveElementIDRef(EObject target, EStructuralFeature f)  {    String name = helper.getQName(f);    String id = helper.getIDREF(target);    doc.startElement(name);    doc.endContentElement(id);  }