A Schema document is a valid XML document therefore there is nothing to stop
you from using a DOM parser to create a DOM of the schema.  You can then use
the DOM API to extract information or modify the schema.


Dane Foster
Equity Technology Group, Inc
http://www.equitytg.com.
954.360.9800
----- Original Message -----
From: "Chetan Chudasama" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 2:49 PM
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]




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

Reply via email to