Werner Guttmann wrote:
> 
> Okay, how should the desired XML really look like ?
> 

Im unmarshalling, not marshalling and i have no control over the legacy xml
format. So it always has root element of <user>. 

My alternative, which i have just implemented, is to extract the subelement
from the root <user> element, and pass this to castor instead of passing the
whole xml document. This is working, however i would like to know if i could
create a mapping to do the same thing.

Thanks
-- 
View this message in context: 
http://www.nabble.com/mapping-2-classes-to-different-sub-element-tp16804683p16806468.html
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to