Hi, this is a standard use case with Castor XML, and all you need to do is to amend your mapping file(s) to indicate (to Castor) the expected cardinality.
Have a look at the reference guide .... Regards Werner [email protected] wrote: > See Thread at: http://www.techienuggets.com/Detail?tx=106565 Posted on behalf > of a User > > Hi Every one, > > I'm new to Castor, and I'm working on Java project that will have an XML file > as an entry, the XML file will represent all Objetcs that will be used as > Parameter to call method. > I did try to write a simple XML file that represent one Object and did > Unmarshall it and got the Object. But when the XML file is representing > multiples objetcs, it's not working. > My question is how can get all objects from the XML file using Castor ? > Please if you have some link or example where I can follow and thank you very > much for your help and response, > > Best Regards, > Ghania > > > > --------------------------------------------------------------------- > 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

