see org.exolab.castor.xml.schema.reader.SchemaReader
It will create a Schema object from package: org.exolab.castor.xml.schema. --Keith feldberg ian wrote: > > I would like to use Castor to compare a specific XML > Schema against its predecessor - a DTD that used to > define the data. I know that the datatyping stuff will > not be in the DTD but what I really need to compare is > the heirarchical structure. > > Does anyone know which package in Castor contains a > class similar to org.w3c.DocumentBuilder which takes > an XML Schema file (*.xsd) and puts it into a > heirarchical structure that I can then parse? I > realize that I could use DocumentBuilder but I was > hoping that something in Castor would actually load > the schema into XML-Schema-specific classes in > org.exolab.castor.*. > > Thanks, > > - Ian > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
