Hi David, Take a look at Marshaller#setMarshalExtendedType, it controls the output of xsi:type when Marshalling extended classes. However you can't remove all xsi-types attributes since they are used by Castor during the unmarshalling. We tried to keep the output of xsi-type to the minimum but sometimes we have no choice, if we want to produce xml that can unmarshal by Castor we need the information inside the xsi:type.
If you still have xsi:type attributes after set the above property to false and you want to get rid of those, I suggest you to use an XSL stylesheet. Hope that helps, Arnaud > -----Original Message----- > From: David Renton [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 8:47 AM > To: [EMAIL PROTECTED] > Subject: [castor-dev] Controlling the output of xmlns:xsi and > xsi:typeattributesduring marshalling > > > With Castor, do I have any control over whether the xmlns:xsi and xsi:type > attributes are generated during marshalling? > > How do I control it? > > Thanks, > David > > > -------------------------------------- > David Renton > National Leisure Group > [EMAIL PROTECTED] > 617-587-6249 > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
