Hi John,

Your schema probably contained a "targetNamespace". If you remove the
targetNamespace and regenerate your classes, the namespace won't be
there.

--Keith 

"Hoebel, John" wrote:
> 
> Note the xmlns= attribute on all the elements. How do I suppress this
> xmlns= attribute on the output xml?
> 
> I am using the marshal method on a Castor generated class.
> 
> I looked in the archives but did not find a solution.
> 
> Thanks in advance for any help.
> 
> John
> 
> <REPLY xmlns="pdbs.reply">
>     <returncode xmlns="">00</returncode>
>     <street xmlns="">22 MAIN AVE</street>
>     <city xmlns="">BOULDER</city>
>     <state xmlns="">CO</state>
>     <exch xmlns="">XXXX</exch>
> </REPLY>
> 
> -----------------------------------------------------------
> 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

Reply via email to