cdm/src/main/java/ucar/nc2/dt/grid/GridDatasetInfo.java
public String writeXML(Document doc) {
		XMLOutputter fmt = new XMLOutputter(Format.getPrettyFormat());
		return fmt.outputString(doc);
	}
public String writeXML(Document doc) {
		XMLOutputter fmt = new XMLOutputter(Format.getPrettyFormat());
		return fmt.outputString(doc);
	}
public String writeXML ( Document doc ) { XMLOutputter fmt = new XMLOutputter ( Format . getPrettyFormat ( ) ) ; return fmt . outputString ( doc ) ; }
Write the information as an XML document

@param doc write XML for this Document
@return String output
Write the information as an XML document