((Element)currentNode).setAttributeNS(nameInfo.getNamespaceURI(), nameInfo.getQualifiedName(), ids.toString());
Attr attr = document.createAttributeNS(nameInfo.getNamespaceURI(), nameInfo.getQualifiedName()); attr.setNodeValue(ids.toString()); ((Element)currentNode).setAttributeNodeNS(attr); handler.recordValues(attr, o, f, values);
  protected void saveIDRefMany(EObject o, EStructuralFeature f)  {    InternalEList values = (InternalEList)helper.getValue(o, f);    if (!values.isEmpty())    {           buffer.setLength(0);      StringBuffer ids = buffer;      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;        }      }      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());      }    }  }