Is there any way to change:

<Root xmlns="urn:test">
  <Next xmlns:urn="urn:test2" xsi:type="urn:Test2Type>
    <urn:Another />
  </Next>
</Root>

to:

<Root xmlns="urn:test">
<Next xmlns="urn:test2" xmlns:test2="urn:test2" xsi:type="test2:Test2Type>
    <Another />
  </Next>
</Root>

I've tried:

xmlOptions.setUseDefaultNamespace();
xmlOptions.setSaveAggressiveNamespaces();
ns.put("urn:test2", "test2");
xmlOptions.setSaveSuggestedPrefixes(ns)

but always get that <urn: prefix on the nodes.

thanks,

Alistair




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to