cdm/src/main/java/ucar/nc2/dataset/NetcdfDatasetInfo.java
public String writeXML( )  {
    XMLOutputter fmt = new XMLOutputter( Format.getPrettyFormat());
    return fmt.outputString( makeDocument());
  }
public String writeXML( )  {
    XMLOutputter fmt = new XMLOutputter( Format.getPrettyFormat());
    return fmt.outputString( makeDocument());
  }
public String writeXML ( ) { XMLOutputter fmt = new XMLOutputter ( Format . getPrettyFormat ( ) ) ; return fmt . outputString ( makeDocument ( ) ) ; }
Write the information as an XML document
@return String containing netcdfDatasetInfo XML
Write the information as an XML document