salve ho trovato il seguente codice per creare un file xml
alseguente link http://www.javaportal.it/docs/filexml.htm
seguo le istruzioni ma quando compilo mi dice che
C:\>javac CreaXML.java
CreaXML.java:92: cannot find symbol
symbol : method setIndent(boolean)
location: class org.jdom.output.XMLOutputter
xout.setIndent(true);
^
CreaXML.java:93: cannot find symbol
symbol : method setNewlines(boolean)
location: class org.jdom.output.XMLOutputter
xout.setNewlines(true);
^
2 errors
naturalmente ho inserito nel file classpath le libreire xerces e jdom.jar.
non riesco a capire dove sbaglio.grazie in anticipo a chi mi aiuta.