XML Matters, The XOM Java XML API

A rigorously correct tree-oriented XML model

From the developerWorks archives

David Mertz

Date archived: December 7, 2016 | 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 steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=12356
ArticleTitle=XML Matters: The XOM Java XML API
publish-date=12172003