You can configure this on the Marshaller directly:
see Marshaller#setNoNamespaceSchemaLocation --Keith "Ahmed, suhel" wrote: > > Hi Castro Bees, > I recently started using castor for Data Binding purpose; I need help > with respect to XML Marshalling. > I want to include XSI Name Space and XSI SCHEMA LOCATION info in my XML > Out put, can any one guide me how to achieve same. > Presently I am getting XML out put file by calling marshalling > "marshal" method on object it self . > > For example I want to get the following info in my out put xml file > > <?xml version="1.0" standalone="no" ?> > <MatchingResponse version="1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="C:\JBuilder9\samples\Welcome\ams2summit.x > sd"> > </MatchingResponse> > > with regards, > Suhel. > > ----------------------------------------------------------- > 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
