{
> // invoke() may throw one of several exceptions
> }
> return null;
> }
>
> This approach frees you from the burden of keeping the
> Java code in-sync with the schema. The downside is that
> the reflection is somewhat expensive. How much so depends
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 t