Con jdom 1.0 usa questo metodo:
codice:import org.jdom.output.Format; [...] // utilizzo un oggetto XMLOuttputter per formattare il file xml Format format = Format.getPrettyFormat(); xout = new XMLOutputter(); xout.setFormat(format);![]()
Con jdom 1.0 usa questo metodo:
codice:import org.jdom.output.Format; [...] // utilizzo un oggetto XMLOuttputter per formattare il file xml Format format = Format.getPrettyFormat(); xout = new XMLOutputter(); xout.setFormat(format);![]()
Debian GNU/Linux sid
Publishing a theory should not be the end of one's conversation with the universe, but the beginning. (Eric S. Raymond)
Kernel 2.6.14-ck1