You can download Xerces from Apache or JAXP from Sun. Both of these come with example programs that can be just compiled and run. They also contain some sample xml files.
I suggest you start from there and learn by experimenting.
Cheers!
------------------
Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.