112113114115116117118119120121122
map.put("http://www.w3.org/2001/XMLSchema", "xs"); opt = opt.setSaveSuggestedPrefixes(map); opt.setSavePrettyPrint(); try { doc.save(new File(Path), opt); //bpelDoc.save(new File(Path), opt); return true; } catch (IOException e) { return false;