writeOut(outputstream,"<" + indexNodeName + " axisIdRef=\""+axisIdRef+"\">");
writeOut(outputstream,"<" + indexNodeName + " axisIdRef=\""+axisIdRef+"\"/>");
   public void toXMLOutputStream (  OutputStream outputstream,                                     Hashtable XMLDeclAttribs,                                    String indent,                                    boolean dontCloseNode,                                    String newNodeNameString,                                    String noChildObjectNodeName                                  )    {      String nodeNameString = this.classXDFNodeName;      // Setup. Sometimes the name of the node we are opening is different from      // that specified in the classXDFNodeName (*sigh*)      if (newNodeNameString != null) nodeNameString = newNodeNameString;      // 0. To be valid XML, we always start an XML block with an      //    XML declaration (e.g. somehting like "<?xml standalone="no"?>").      //    Here we deal with  printing out XML Declaration && its attributes/*      if ((XMLDeclAttribs !=null) &&(!XMLDeclAttribs.isEmpty())) {         indent = "";         writeXMLDeclToOutputStream(outputstream, XMLDeclAttribs);      }*/      // 1. open this node, print its simple XML attributes      if (sPrettyXDFOutput) writeOut(outputstream, indent); // indent node if desired      writeOut(outputstream,"<" + nodeNameString + ">");   // print opening statement      if (sPrettyXDFOutput) writeOut(outputstream, Constants.NEW_LINE);      String newindent = indent + sPrettyXDFOutputIndentation; // bump up the indentation      // 2. Print out the axisIdRefs as child nodes       Iterator iter = axisIdRefOrder.iterator();      while (iter.hasNext()) {         String axisIdRef = (String) iter.next();         if (sPrettyXDFOutput) writeOut(outputstream, newindent); // indent node if desired         writeOut(outputstream,"<" + indexNodeName + " axisIdRef=\""+axisIdRef+"\">");         if (sPrettyXDFOutput) writeOut(outputstream, Constants.NEW_LINE);      }      // 3. Close this node      if (sPrettyXDFOutput) writeOut(outputstream, indent); // indent node if desired      writeOut(outputstream,"</" + nodeNameString + ">");   // print opening statement      if (sPrettyXDFOutput) writeOut(outputstream, Constants.NEW_LINE);   }