You can use XMLbeans. to use this you need to download from
http://download.nextag.com/apache/xmlbeans/binaries/ you can download xmlbeans-2.3.0.zip
once you download you need to place your xsd in the bin of the extract and run scomp -out jarname.jar xsdname.xsd (make sure that you point the scomp to the java home by editing it)
a jar will be generated in the bin. add this jar and the lib jars from the extract to your class path. the jar will contain class for the XSD.
once you have the classes you just need to import them and use in you program to set values