Hi, not in the sense you are trying to do this. Castor will inject xsi:type attributes throughout your XML upon marshalling as required. There's ways to have this turned off completely, or ways to deduce type information from class names, etc.
But there's no mean to have this selectively turned off. Regards Werner Erik Lindgren wrote: > Hi, > > We're using CASTOR to marshal objects into xml but not vice versa. > By default we're not providing namespace or xsi:type info in our xml. > I've now got a specific requirement where I need to provide xsi:type > info for a very small subset of our xml elements. Is there a way of > configuring CASTOR/mapping files to only provide xsi:type information > for specific fields? > > Thanks > Erik > > > --------------------------------------------------------------------- > 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

