Hi Doug,

Keep in mind, Castor is a Java Data Binding framework, which generally
means you are working with a Java object model, either marshalling from
the object model to some other representation, such as a database or XML
file, or unmarshalling from the data representation back into an object
model.

With that being said however, going from DB->XML directly is something
we used to have at a very simple level, but the person working on it
changed jobs and was unable to continue his work. This was called DTX or
(Database-to-XML). You can still find the old DTX code in the CVS, but
it's going to need some work. If this is something that interests you,
feel free to experiment with it.

--Keith

"Ferguson, Doug" wrote:
> 
> I was just building a prototype using castor for the first time.
> It was really disappointing to find that you are required to create the java
> object. I wrote the code to use jdo to pull data from the database and
> marshall it to xml. It would be really neat if I could just work from the
> mapping file and not create the java object.
> 
> d./
> 
> -----------------------------------------------------------
> 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