docs: public static String toXML(Object object, String encoding, boolean nodeMode) throws MarshalException {
  
  		Properties properties = new Properties();
  		properties.put("node", Boolean.toString(nodeMode));
  		properties.put("lowcase", "true");
  		properties.put("pretty", "true");
  		properties.put("cdata", "true");
  		properties.put("indent", "\t");
  		properties.put("endofline", "\n");
  		properties.put("document-start", String.format("<?xml version='1.0' encoding='%s'?>", encoding));
  			
  		String xml = toXML(object, encoding, properties);
  		return xml;
  		
  	}