You could Marshall the object through different mapping files and merge the
results...

Karl.

-----Original Message-----
From: Werner Guttmann [mailto:[EMAIL PROTECTED] 
Sent: 12 June 2008 10:54
To: [email protected]
Subject: Re: [castor-user] Marshalling one class two different sections in
an xml file

Not to my knowledge.

Werner

codemaniac wrote:
> Is there a way to marshall one class two different sections in an xml
file?
> Pseudo mapping file
> 
> <
> class com.abc.dto.customer
> map to externalcustomer>
> 
> <class com.abc.dto.customer
> map-to customer>
> 
> I get an error two different classes when I try it
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

************************************************************
Copyright in this message and any attachments remains with us. It is 
confidential and may be legally privileged. If this message is not intended for 
you it must not be read, copied or used by you or disclosed to anyone else. 
Please advise the sender immediately if you have received this message in error.

Although this message and any attachments are believed to be free of any virus 
or other defect that might affect any computer system into which it is received 
and opened it is the responsibility of the recipient to ensure that it is virus 
free and no responsibility is accepted by Allianz Insurance plc for any loss or 
damage in any way arising from its use.

Cornhill Direct is a trading name of Allianz Insurance plc.

Pet Plan Ltd, Home and Legacy Insurance Services Ltd, Premierline Direct Ltd 
and Cornhill Solutions Ltd are part of the Allianz (UK) group of companies.

Allianz Insurance plc, Registered in England number 84638. 
Registered Office: 57 Ladymead, Guildford, Surrey GU1 1DB.
Allianz Engineering Inspection Services Ltd. Registered in England number 
5441840. Registered Office: 57 Ladymead, Guildford, Surrey GU1 1DB UK

Allianz Insurance plc is authorised and regulated by the 
Financial Services Authority.

************************************************************

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to