cdm/src/main/java/ucar/nc2/dt/grid/GridDatasetInfo.java
public void writeXML(Document doc, OutputStream os) throws IOException {
		XMLOutputter fmt = new XMLOutputter(Format.getPrettyFormat());
		fmt.output(doc, os);
	}
public void writeXML(Document doc, OutputStream os) throws IOException {
		XMLOutputter fmt = new XMLOutputter(Format.getPrettyFormat());
		fmt.output(doc, os);
	}
public void writeXML ( Document doc , OutputStream os ) throws IOException { XMLOutputter fmt = new XMLOutputter ( Format . getPrettyFormat ( ) ) ; fmt . output ( doc , os ) ; }
Write the information as an XML document

@param doc write XML for this Document
@param os  write to this output stream
@throws java.io.IOException on write error
Write the information as an XML document