----- Original Message ----- 
From: "Chetan Chudasama" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 1:16 PM
Subject: Re: Schema processor


> Thanx Andrew. I got what I needed. I did not know Castor had
> that because the api docs I had did not have the schema
> package. I then downloaded the Full documentation from the
> site and am now able to use Castor... It is going to save me
> some time wrtiting something very similar :)
> 
> Cheers,
> Chetan
> 
> Andrew Fawcett wrote:
> 
> >
> >
> > You need to look in the org.exolab.castor.xml.schema
> > package....
> >
> > This is an example....
> >
> > // Parser XML Schema
> > SchemaUnmarshaller schemaHandler = new
> > SchemaUnmarshaller();
> > Parser parser = ParserFactory.makeParser();
> > parser.setDocumentHandler(schemaHandler);
> > parser.parse("file:"+inputFile);
> > Schema schema = schemaHandler.getSchema();
> > ... = schema.getComplexTypes()
> > ... = schema.getElementDecls()
> >
> > -----Original Message-----
> > From: Chetan Chudasama
> > [mailto:[EMAIL PROTECTED]
> > Sent: 11 April 2001 18:49
> > To: [EMAIL PROTECTED]
> > Subject: Re: Schema processor
> >
> > Andrew,
> > Thanx for the info. I have looked at castor but what I was
> >
> > looking for was some model that is available in memory
> > like
> > the DOM and can be accessed  through some API. My
> > requirement is not to verify any XML against the schema
> > but
> > only to be able to parse the schema and access it like the
> >
> > DOM. Castor provides a schema complier which generates
> > classes and then there is no API to access the classes.
> > For
> > instance I would like to get the informartion on a
> > complexType defined in a particular namespace. I am not
> > sure
> > how I can easily do this using Castor.  If you have worked
> >
> > and can give me some more information that will help.
> >
> > I appreciate your help.
> >
> > Cheers,
> > Chetan
> >
> > Andrew Fawcett wrote:
> >
> > >
> > >
> > > You could also look at http://castor.exolab.org/, they
> > > have any excellent XML Schema object model. :-)
> > >
> > > -----Original Message-----
> > > From: Chetan Chudasama
> > > [mailto:[EMAIL PROTECTED]
> > > Sent: 10 April 2001 20:37
> > > To: [EMAIL PROTECTED]
> > > Subject: Schema processor
> > >
> > > Hi,
> > >
> > > I would like to know if there is a schema processor
> > > available under Xerces. I want to parse only the schema
> > > files and have some API for accessing that information.
> > I
> > > know there is one from Oracle, but wanted to know if
> > there
> > >
> > > is one available with Xerces. If not then will it be
> > > available in the future?
> > >
> > > Thanx,
> > > Chetan
> > >
> > > --
> > > Chetan Chudasama
> > > Fujitsu Network Communications
> > > Call: (408) 895 1707
> > > Email: [EMAIL PROTECTED]
> > >
> > >
> > >
> > > -
> > >
> > -------------------------------------------------------------------
> >
> > >
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> >
> > --
> > Chetan Chudasama
> > Fujitsu Network Communications
> > Call: (408) 895 1707
> > Email: [EMAIL PROTECTED]
> >
> >
> >
> > -
> > -------------------------------------------------------------------
> >
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> 
> --
> Chetan Chudasama
> Fujitsu Network Communications
> Call: (408) 895 1707
> Email: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to