Re: [dom4j-user] new element not correctly added
Hi Matteo! Matteo Floris schrieb am 10.06.2005 16:19 : the java code works properly, but the xml file is not well formatted... does anybody know why the xml document is not well formatted? You have to define an OutpuFormat: http://dom4j.org/faq.html#pretty-print hth, Michael --
[dom4j-user] new element not correctly added
Hi allI have an empty xml file with this structre: when I add an element I obtein something SAXReader saxReader = new SAXReader(); Document document = saxReader.read(inputXml); List list = document.s