doc.addAttribute(name, ids.toString());
if (!toDOM) { String name = helper.getQName(f); doc.addAttribute(name, ids.toString()); } else { helper.populateNameInfo(nameInfo, f); ((Element)currentNode).setAttributeNS(nameInfo.getNamespaceURI(), nameInfo.getQualifiedName(), ids.toString()); }
  protected void saveIDRefMany(EObject o, EStructuralFeature f)  {    InternalEList values = (InternalEList)helper.getValue(o, f);    if (!values.isEmpty())    {      String name = helper.getQName(f);      StringBuffer ids = new StringBuffer(values.size() * 10);      for (Iterator i = values.basicIterator();;)      {        EObject value = (EObject)i.next();        String id = helper.getIDREF(value);        ids.append(id);        if (i.hasNext())        {          ids.append(" ");        }        else        {          break;        }      }      doc.addAttribute(name, ids.toString());    }  }