Home » JDOM

Tag Archives: JDOM

Modify XML File in Java using JDOM parser example

In the previous tutorial we show how to read an XML File using JDOM parser. In this tutorial we are going to see how to modify the contents of an XML File.                     This is the XML File we are going to use for the demonstration. testFile.xml: <?xml version="1.0" encoding="UTF-8" standalone="no"?><company> ...

Read More »

Read XML File in Java using JDOM parser example

In this example we are going to see how to parse an XML File using JDOM. JDOM is a Java representation of an XML. It’s a very easy to use tool and it has a straightforward API. It’s an alternative to DOM and SAX and it integrates equally well with both of them. JDOM is an external library and you ...

Read More »