Questions tagged as 'jdom'

1
answer

Java - Add information in XML file with JDom

In this code an xml file is created and an element is inserted: comentarios = new Element("comentarios"); myDocument = new Document(comentarios); comentario = new Element("comentario"); comentario.setAttribute("id", "123"); El...
asked by 19.05.2017 / 05:18
1
answer

Java - read XML from a URL

I have a function that reads XML and it works 100%, the problem is that when I try to read an XML that is online on my server I can not. Follow the code below: public int lerXml() throws JDOMException, IOException, URISyntaxException {...
asked by 23.05.2017 / 08:52
1
answer

Java - Change XML and then read

I have an application that writes in an XML and one that reads, the two work fine separately, but the problem is that when I write in XML, the other application continues reading without updating the data, as if the file had not been updated (bu...
asked by 22.05.2017 / 07:50