If you only use the jdo and not the xml features of castor you don't need the xml 
attribute inside the map-to element neither you
need the bind-xml element.

Ralf


----- Original Message -----
From: "Keld Helbig Hansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 7:38 AM
Subject: [castor-dev] Question 3 for Bruce's article: why the xml-attribute in map-to


> This is a question related to the article from DeveloperWorks by Bruce Snyder: 
>"Learn the basics of object-relational binding
using Castor", august 2002:
> http://www-106.ibm.com/developerworks/java/library/j-castor/
>
> Q#3:
> In the mappings file for Product, listing 3, it says:
>
>      <map-to table="prod" xml="product" />
>
> What is the reason for using the xml-attribute?
>
> In other examples you also see this element used inside the field-element:
>
>       <bind-xml name="name" node="element" />
>
> Why would you use this element?
>
> Thanx for any help!!!
>
> /Keld
>
> -----------------------------------------------------------
> 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