Hello, Sorry but I do not understand what your example should express. Can you please provide some information about the classes involved and put more information into the XML sample...
You're writing that you want to have ID and Name in all Elements but your sample doesn't reflect it?? Regards Joachim On 17/04/2008, joni.loky <[EMAIL PROTECTED]> wrote: > > 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 > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

