If you use todays CVS version you can do:
marshaller.setNoNamespaceSchemaLocation(....); -or- marshaller.setSchemaLocation(....); --Keith "Weir, John" wrote: > > Sorry if this has been answered elsewhere but I searched and couldn't find > it - :-( > > I want to generate my XML Docs ( using the castor marshalling framework ) > like > > <transaction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="..\..\MySchema.xsd"> > <transactionData> > <tradeId>String</tradeId> > <tradeLocation>String</tradeLocation> > <transactionId>String</transactionId> > <entryTimeStamp>2001-12-17T09:30:47-05:00</entryTimeStamp> > <userId>String</userId> > </transactionData> > .... > > But instead I get below ( without the schema namespace ). Is it possible to > have Castor Generate this. How would be better :-) > > <?xml version="1.0" ?> > - <transaction> > <transactionData> > <tradeId>12345</tradeId> > <tradeLocation>ABC</tradeLocation> > <transactionId>67890</transactionId> > <entryTimeStamp>2001-12-17T09:30:47-05:00</entryTimeStamp> > <userId>String</userId> > </transactionData> > .... > > Thanks a lot > > John > > _________________________________________ > Goldman Sachs International. > RC6, Peterborough Court 133 Fleet Street. > London. EC4M 7JW > Tel: 0207-774-2099 > Email: [EMAIL PROTECTED] > > Goldman John Weir > Sachs IT Specialist (Credit Derivatives Technology) > > ----------------------------------------------------------- > 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
