code: public XMLWriter toXML(PrintWriter pw)
  			throws IOException
  			{
  
  		XMLWriter     xw = new PrettyXMLWriter( pw);
  
  		toXML(xw);
  		return xw ;
  			}
docs: convert Configuration to an XML file so it can be serialized
  
  @param pw
  @return XMLWriter
  @throws IOException