My goal is to take an XML Schema, transform the schema into a DOM structure that I can Traverse .I am using Jdom ,and I am able to parse the schema ,but I am facing problem for the cases when my schema is including (or importing)some other xsd's .In those cases I am unable to get a handle to those complex elements present in external xsd.Please suggest some parser to do that . Does anyone know of an API that will help me do this in Java??
I recommend castor. Castor allows you to specify a binding file to handle this type of requirement.
Priyank kumar Tiwari
Joined: Aug 11, 2005
Thanks for the suggestion .I am looking into it .I have worked fairly a lot on SAX/DOM but didnt ever got a chance to work in castor,can you please recommend me some good tutorial or link where I can get all relevent details on Castor.I was going through some discussion forums ,and people are having some issues when the including schemas have enums or complex contents.So it would be very helpful if you (or anybody :-)Plzzz )can suggest a place where I can get good material on it ,