unfreeze.setAttribute ("TASK", t.getUID ().getUID());
unfreeze.setAttribute ("task", t.getUID ().getUID());
  public Document prepareRescind(Enumeration removedTasks) {    Document doc = new DocumentImpl();    Element newRoot = doc.createElement("PROBLEM");    newRoot.setAttribute ("NAME", comm.getProblem ());    doc.appendChild(newRoot);        Element df   = doc.createElement("DATA");        Element window = doc.createElement("WINDOW");    window.setAttribute ("starttime", "2000-01-01 00:00:00");    window.setAttribute ("endtime",   "2002-01-01 00:00:00");    df.appendChild (window);	    Element deletedobjects = doc.createElement("DELETEDOBJECTS");    df.appendChild (deletedobjects);    while (removedTasks.hasMoreElements()) {      Task t = (Task) removedTasks.nextElement();      Element unfreeze = doc.createElement("UNFREEZE");      unfreeze.setAttribute ("TASK", t.getUID ().getUID());      newRoot.appendChild (unfreeze);      Element obj = doc.createElement("OBJECT");      obj.setAttribute ("type", "Transport");            Element elem = doc.createElement("FIELD");      elem.setAttribute ("name",  "id");      elem.setAttribute ("value", t.getUID().getUID());      obj.appendChild (elem);      deletedobjects.appendChild (obj);    }    newRoot.appendChild(df);    return doc;  }