You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Pascal Maugeri <pa...@gmail.com> on 2008/06/18 13:46:56 UTC

Empty XML namespace inserted when using XmlCursor.copyXml()

Hi

I'm using XmlCursor.copyXml() to insert an element within a XML document.

The element is inserted at the right place but contains an empty namespace:

eg. <display-name *xmlns=""*>Hola</display-name>

What should I do in order to not have this empty namespace definition in the
result ?

Regards,
Pascal