How can i map a collection so that all of its elements will have the same
attribute taken from the level which contains them. For example:

<root>
<ID>id</ID>
<Name>name</Name>
<Elements>
<element1><attr1></attr1><attr2></attr2><attr3></attr3></element1>
<element2><attr1></attr1><attr2></attr2><attr3></attr3></element2>
<element3><attr1></attr1><attr2></attr2><attr3></attr3></element3>
</Elements>
</root>

I want all of my elements to have the ID and Name of the root.

Thnx.
Joni.
-- 
View this message in context: 
http://www.nabble.com/Castor-%2B-Unmarshalling-diff-levels-%2B-Collection-tp16749241p16749241.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