Thanks for reading the post.

I am looking for example for -b option of the xjc. The objective behind is like this. I am working with multiple XSDs and there are few common XSDs imported. When I generate JAXB classes I want exch XSD's java file go into a specific package. For this I think I will have to do namespace binding within the XSD. I don't want to do inline binding as it will force XSD to contain Package information. I am trying to explore the external binding option of the xjc, but I could not get external binding working, while inline binding works fine.

I would appreciate if someone could let me know how I can create xjb file that will contain binding information of the XSD. An example would be great.

Thanks Again