public String toString(){
  if (this.xmlDocument != null) {
    XMLOutputter outputter=new XMLOutputter();
    String output=outputter.outputString(this.xmlDocument);
    output=output.replaceAll("\r","");
    output=output.replaceAll("\n","");
    output=output.replaceAll("\t","");
    return output;
  }
  return "";
}

public String toString ( ) { if ( this . xmlDocument != null ) { XMLOutputter outputter = new XMLOutputter ( ) ; String output = outputter . outputString ( this . xmlDocument ) ; output = output . replaceAll ( "\r" , "" ) ; output = output . replaceAll ( "\n" , "" ) ; output = output . replaceAll ( "\t" , "" ) ; return output ; } return "" ; }
return the xml document in a string object
