Hi, The current castortransformer is not able to handle collections. The following lines of code adds Collection handling to the CastorTransformer:
if (Collection.class.isAssignableFrom(bean.getClass())) { Iterator i = ((Collection)bean).iterator(); while (i.hasNext()) { marshaller.marshal(i.next()); } } else { marshaller.marshal(bean); // THIS line is currently only implemented. } Michael Homeijer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]