writeOut(outputstream, " "+ item.get("name") + "=\"" + item.get("value") + "\"");
writeOut(outputstream, " "+ item.get("name") + "=\""); writeOutAttribute(outputstream, (String)item.get("value")); writeOut(outputstream, "\"");
  public void toXMLOutputStream (  OutputStream outputstream,                                   Hashtable XMLDeclAttribs,                                   String indent,                                   boolean dontCloseNode,                                   String newNodeNameString,                                   String noChildObjectNodeName  ) {    String nodeNameString = classXDFNodeName;    // 1. open this node, print its simple XML attributes      if (Specification.getInstance().isPrettyXDFOutput())        writeOut(outputstream, indent); // indent node if desired      writeOut(outputstream,"<" + nodeNameString + ">");   // print opening statement      //writeOut the body of DataFormat      writeOut(outputstream, "<" + specificDataFormatName);    // gather info about XMLAttributes in this object/node    Hashtable xmlInfo = getXMLInfo();    // 2. Print out string object XML attributes EXCEPT for the one that    //    matches PCDATAAttribute.    ArrayList attribs = (ArrayList) xmlInfo.get("attribList");    synchronized(attribs) {      int stop = attribs.size();      for (int i = 0; i < stop; i++) {        Hashtable item = (Hashtable) attribs.get(i);        writeOut(outputstream, " "+ item.get("name") + "=\"" + item.get("value") + "\"");      }    }    //writeout end of the boby    writeOut(outputstream, "/>");    //writeout closing node    writeOut(outputstream, "</" + nodeNameString+ ">");    if (Specification.getInstance().isPrettyXDFOutput())      writeOut(outputstream, Constants.NEW_LINE);  }