If you want to skip the DOM world and deal with it from a class perspective, there are several options, such as JAXB, Castor, and XMLBeans (though I'm not sure on their support for XPath).

Dan