Java - Xml


Extensible Markup Language (XML) in Java.

XML usage

XML Processing

Two Xml Document building (programming models):

XML Binding (Serialization)

Serialization (ie Marshalling/UnMarshalling)

  • JAXB (Java Architecture for XML Binding) is a specific API to marshall and unmarshall Java object.
  • xstream Serialization


  • XOM is an open source, tree-based API for processing XML with Java
  • Nux is an open-source toolkit making efficient and powerful XML processing easy.
  • XMLDog - is a library for reading XML files via XPath expressions.
  • Jaxen - is an open source XPath library. It is adaptable to many different object models, including DOM, XOM, dom4j, and JDOM. Is it also possible to write adapters that treat non-XML trees such as compiled Java byte code or Java beans as XML, thus enabling you to query these trees with XPath too.
Task Runner