Re: [castor-dev] Remove namespace prefix from the castor generated XML

2004-07-04 Thread Keith Visco
Thanooja, If you want to remove the namespace completely, just (temporarily) remove the targetNamespace from your schema and regerate the sources. If you simply want to use a different prefix than "ns1" you can declare the prefix mapping on the Marshaller (see Marshaller#setNamespaceMapping. -

[castor-dev] Remove namespace prefix from the castor generated XML

2004-07-04 Thread Thanooja S
Hi All I am using Castor 0.9.5.3 to generate classes from xsd using the SourceCodeGenerator and then to marshal Java Objects to XML. But in the generated XML i am getting the prefix ns1: with the complex types. Is there anyway i can remove it ? Thanks Thanooja --