t.transform(new DOMSource(dom), new StreamResult(fos));
fos.flush();
fos.close();
+//FileInputStream fis = new FileInputStream(newUpdateXml);
+//byte[] buffer = new byte[1024];
+//int read = fis.read(buffer);
+//while(read>0) {
+// System.err.print(new String(buffer, 0, read));
+// read = fis.read(buffer);
+//}
+//fis.close();
+//if(JOptionPane.showConfirmDialog(this, "continuer ?")==JOptionPane.CANCEL_OPTION) System.exit(1);
} catch(Exception ex) {
ex.printStackTrace();
}