XML Matters, The XOM Java XML API

A rigorously correct tree-oriented XML model

From the developerWorks archives

David Mertz

Date archived: May 15, 2019 | First published: December 17, 2003

In this installment, David looks at Elliotte Rusty Harold's XOM. Broadly speaking, this is yet another object-oriented XML API, somewhat in the style of DOM, however a number of features set XOM apart, and Harold argues that they are important design elements. Chief among these is a rigorous insistence on maintaining invariants in in-memory objects so that an XOM instance can always be serialized to correct XML. In addition, XOM aims at greater simplicity and regularity than other Java XML APIs. You can share your thoughts on this article with the author and other readers in the accompanying discussion forum.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

ArticleTitle=XML Matters: The XOM Java XML API