user  

Empty XML namespace inserted when using XmlCursor.copyXml()

Pascal Maugeri
Wed, 18 Jun 2008 04:47:30 -0700

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
  • Empty XML namespace inserted when using XmlCursor.copyXml() Pascal Maugeri