Apologies if this is off the development thread or a dumb question. I'm
new to castor and am investigating whether it can do the job for me.
It seems a good way to extract data from xml in principle.

I have succeeded in defining some simple xml and schema to allow me
to unmarshal a known object type from the xml. However what if the xml
might define one of a list of possible java objects, defined via the
schema. How can I unmarshal into a java Object, so that I can then
test the Object class and act accordingly? If someone could provide
an example and/or advice this would be much appreciated.

Cheers

Steve

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

Reply via email to