Hi,

I'd like my root element to have this xmlns:

<friends xmlns="http://mypropietary.xsd";>

I've tryied this:
  marshaller.setNamespaceMapping("xmlns","http://mypropietary.xsd";);
but got:
  xmlns:xmlns="http://mypropietary.xsd"; (note the duplicated 'xmlns')

If I do this:
  marshaller.setNamespaceMapping("","http://mypropietary.xsd";); // or send
null as the first arg
I get:
  xmlns=""

Any idea how can I make it work? Thanks!
-- 
Fernandez, Pablo.

Reply via email to