Hello. I'm new to Castor and I would like to know if it's possible to map the
same class many times to the same xml file.

For example I would like to map class in order to have something like that:

<person>
   <name>Mark</name>
   <surname>Smith</surname>
</person>
<person>
   <name>John</name>
   <surname>Wilson</surname>
</person>
<person>
   ...
</person>
<person>
   ...
</person>

And more, I would like to get this back as array (Person[]) or some
collection (List<Person>). I suspect that correctly builded mapping.xml will
do the trick. Is it possible? Can you give me some suggestions or solution?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Simple-problem-with-multiple-mappings-of-the-same-class-to-one-file-tf4352454.html#a12402150
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