Is there something akin to the .NET xsd.exe for java - generating classes from a schema that you can easily de-serialize ? - or , What's the common practice for parsing and pull out/validate the content xml documents in Java ?
Traversing a DOM tree and littering code with XPath queries to get the data you need seems quiet messy.