Category: JDom

JDom Xml Tutorials

Update XML Document with JDOM2

In this tutorial we show how to update an XML Document using JDOM. We can modify the XML Document after we load it into memory. We show you how to do the following updates:...
JDom Xml Tutorials

Query XML Document with XPath and JDOM

We can use XPath to query an XML Document, searching for specific nodes using a query syntax. This tutorial shows how to Query an XML Document with XPath and JDOM. Maven Dependencies You need...
JDom Xml Tutorials

Validate XML against XSD Schema using JDOM

An XSD Schema is used to validate an XML document, it describes what elements, attributes, types are allowed and in which order. In the following tutorial we explain how you can validate an XML...
JDom Xml Tutorials

Validate XML against DTD using JDom

A Document Type Definition (DTD) defines which elements and attributes you can use inside an XML document. Typically this DTD document is specified inside the XML document. In this example we explain haw you...
JDom Xml Tutorials

Read XML in Java using JDom Parser

JDom is an open source library for manipulating XML documents. It has an easier API then the standard Java JDK libraries. In the following tutorial we explain how you can read an XML file...