I would suggest that you have a look at JAXB from Sun
(Java Technology & XML). It automatically creates a set of Java classes based on an XML schema definition to allow you to manipulate the XML document as if it is made up of java objects.
As an alternative, if you don't have a full schame then you could have a look at using JDOM
(JDOM Home Page) to manipulate the XML elements. It's a lot simpler than using the Xerces API
HTH
Andy Bowes
Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams