if (sPrettyXDFOutput) {
if (Specification.getInstance().isPrettyXDFOutput()) {
  private void nestedToXDF(OutputStream outputstream, String indent, int which, int stop) {    //base condition    if (which > stop) {      if (sPrettyXDFOutput) {        writeOut(outputstream, Constants.NEW_LINE);        writeOut(outputstream, indent);      }      synchronized (formatCommandList) {        int end = formatCommandList.size();        for (int i = 0; i < end; i++) {          Object command = formatCommandList.get(i);          ((XMLDataIOStyle) command).specificIOStyleToXDF(outputstream, indent);           if (sPrettyXDFOutput) {           writeOut(outputstream, Constants.NEW_LINE);           writeOut(outputstream, indent);          }        }      }    }    else {      if (sPrettyXDFOutput) {        writeOut(outputstream, Constants.NEW_LINE);        writeOut(outputstream, indent);      }      writeOut(outputstream, "<" + UntaggedInstructionNodeName + " axisIdRef=\"");      writeOut(outputstream, ((AxisInterface) parentArray.getAxisList().get(which)).getAxisId() + "\">");      which++;      nestedToXDF(outputstream, indent + sPrettyXDFOutputIndentation, which, stop);      if (sPrettyXDFOutput) {        writeOut(outputstream, Constants.NEW_LINE);        writeOut(outputstream, indent);      }       writeOut(outputstream, "</" + UntaggedInstructionNodeName + ">");    }   }