Thanks Zsolt,

Do you mean the XMLInstance2Schema class is the example?

-----Original Message-----
From: Zsolt Kovacs [mailto:[EMAIL PROTECTED]] 
Sent: 07 October 2002 14:30
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Load of Schema into Schema Model


I guess you need to check out the org.exolab.castor.xml.schema package. 
Have a look also on the util subpackage which contains an example to 
create a Schema object from an xml instance document.

We use this package rather extensively as the Xerces implementaion is 
far from ready .

Zsolt

Greg McCreath wrote:

>Hi all,
>
>I have a requirement to build schemas behind tree/message structures 
>that the user is inputting.  Effectively I need to create a schema to 
>validate a structure, but the user doesn't really know they are 
>building a schema.
>
>Two Castor questions:
>
>Is it possible to load a schema into a Castor in-memory 'Schema model' 
>so we may manipulate it with our UIs?
>
>Is it possible to get a in-memory schema model .... or preferable any 
>object model and render an on-disk schema from it?
>
>Many thanks
>
>Greg.
>
>-----------------------------------------------------------
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
>
>  
>
-- 
   __  Kovax
   ||========  Name/Title : Zsolt Kovacs, Mr/PhD, CERN/UWE
 __\/_____     Phone/Fax  : (41-22) 767-3457 / (41-22) 767 8930
 \_     _/     Address    : CERN div:EP 1211 Geneve 23 Switzerland
   |   |       Email      : [EMAIL PROTECTED]
 --'   `--     WWW        : http://www.zsolt-kovacs.org

----------------------------------------------------------- 
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

Reply via email to