If you have downloaded the parser from IBM's website( or any parser for that matter, ) the download will come bundled with example programs. You can start from the examples to learn how to use the parser from within the Java program. Good luck,
------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com