Swamy,

To use XML Schema (http://www.w3.org/XML/Schema) and read the XML Schema
Tutorial, by Roger L. Costello, September 2001 (http://www.xfront.com/).
Read this XML tutorial (tutorial 1 first 100/150 sheets) and then read the
Castor source generator (http://castor.exolab.org/sourcegen.html). After
that you will have the knoledge which you need to generate all your value
beans from a xsd file.

This will give you a good base on using Castor and for the project you have
to do.

Succes, Tjeerd


-----Original Message-----
From: Swaminathan P [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 12 april 2002 9:19
To: [EMAIL PROTECTED]
Subject: [castor-dev] Generate XML instance document from Schema using
Castor


Hi,

I'm new to Castor. I need to generate an XML instance document conforming 
to a given XML Schema. I thought of using Castor for this purpose.

Currently I just parsed a XML schema and printed some ElementDecls. I don't 
know exactly, how to use Castor and recursively parse the entire schema 
document.

Help in this regard will be highly appreciated.
Please fwd any links or tutorial on using XML schema support of Castor.

Thanks in advance,
-Swamy

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to