OutputFormat XML_FORMAT = new OutputFormat();
File outFile = new File(myConfig.getSaeExportPath());
if(!outFile.exists()){
outFile.mkdirs();
}
OutputStream xmlOs = new FileOutputStream(outFile+File.separator+"test.xml");
XMLWriter xmlWriter = new XMLWriter(xmlOs,XML_FORMAT);
//xmlWriter.setEscapeText(false);
xmlWriter.write(doc);
XML_FORMAT 不要设置任何