nu.xom.samples includes several dozen example programs that demonstrate different parts of the XOM API. These are intended for tutorial purposes. They are not designed as reusable code for the most part. Most of the exampels are adapted from my Processing XML with Java by Elliotte Rusty Harold. Please consult that book (available in its entirety online) if you'd like more information about what particular samples are intended to show. That book provides SAX, DOM, and/or JDOM implementations of most of these samples.