String moreIndent = super.sPrettyXDFOutputIndentation;
  public void toXDFOutputStream ( OutputStream outputstream,                                  Hashtable XMLDeclAttribs,                                  String indent                                )  {    String myIndent;    boolean niceOutput = super.sPrettyXDFOutput;    if (indent !=null) {      myIndent = indent;    }    else      myIndent = "";    String moreIndent = super.sPrettyXDFOutputIndentation;    //open the read block    if (niceOutput)      writeOut(outputstream, myIndent);    writeOut(outputstream, "<"+classXDFNodeName + ">");    if (niceOutput)      writeOut(outputstream, Constants.NEW_LINE);    String nextIndent = myIndent + moreIndent;    List indents = new ArrayList();    List axisList = getParentArray().getAxisList();    String axisId;    for (int i = 0; i< axisList.size(); i++) {      axisId = ((AxisInterface)axisList.get(i)).getAxisId();      indents.add(nextIndent);      if (niceOutput)        writeOut(outputstream, nextIndent);      writeOut(outputstream,"<"+UntaggedInstructionNodeName + "axisIdRef = \"" + axisId + "\">");      if (niceOutput)        writeOut(outputstream, Constants.NEW_LINE);      nextIndent += moreIndent;    }    //now dump ourselves here using the trusty generic method    super.toXDFOutputStream(outputstream, null, nextIndent);    //close the instruction    for (int i = indents.size()-1; i>=0; i++) {      if (niceOutput)        writeOut(outputstream, (String) indents.get(i));      writeOut(outputstream, "</" + UntaggedInstructionNodeName + ">");      if (niceOutput)        writeOut(outputstream, Constants.NEW_LINE);    }    //close the read block    if (niceOutput)      writeOut(outputstream, myIndent);    writeOut(outputstream, "<//"+classXDFNodeName + ">");    if (niceOutput)      writeOut(outputstream, Constants.NEW_LINE);  }