That is, I now think that marshalling a Collection (in this case,
addVisitDatas) in such a way as to wrap sets of the members of the
Collection's element-type (in this case, AddVisitData) in an XML- element named with the name of the Collection-variable (addVisitDatas) is preferable to what one gets when one includes "container='false'", which wraps such
Collection-element data in an XML-element named with the Collection
element's type (AddVisitData).

I now think that's actually more efficient, in that it saves on XML- elements in the way it deals with the effectively anonymous Collection- elements.

You might also want to have a look at the "location" attribute:
http://castor.codehaus.org/xml-mapping.html#6.-Location-attribute

Henk van Voorthuijsen

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

   http://xircles.codehaus.org/manage_email

Reply via email to