public static String getXmlDeclaration(String version) {
		if (version == null) {
			version = DEFAULT_XML_VERSION;
		}
		
		return new StringBuffer().append("<?xml version=\"").append(version).append("\"?>").toString();
	}