« Return to Thread: How to marshall objects using default namespace?

Re: How to marshall objects using default namespace?

by polly.c.chang :: Rate this Message:

Reply to Author | View in Thread

Hi Matt,

Just thought I'd let you know the result.  I tried what you said here by changing my project.xml this way:

1.  Set namespace-resolver to this (I don't have other namespaces):

         <namespace-resolver>
            <namespaces/>
            <default-namespace-uri>http://http://www.foo.com/bar/baz</default-namespace-uri>
         </namespace-resolver>

2.  Removed all instances of "ns1:".

And it works!!  Thank you so much!  :)

--Polly


amphoras wrote:
Hi Matt,

Ah, ok.  Thanks for the XML snippets.  I'll give it a try!  :)

Thanks,
Polly

 « Return to Thread: How to marshall objects using default namespace?