Announcement

Collapse
No announcement yet.

Why is inserted xmls attribute on my xml object?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why is inserted xmls attribute on my xml object?

    Hi to all,

    I don´t know why is inserted the xmlns atributte, so i have this code on a destination transformer...

    var mio='<mio><mio1>hola</mio1></mio>';
    var mioXML = new XML (mio);
    logger.info(mioXML);

    When I see the console output to view what is inside the mioXML object and I get this:

    <mio xmlns="http://www3.medical.philips.com"><mio1>hola</mio1></mio>

    I Don´t know why and how is inserted this attribute is inserted, any ideas?

    Thanks in advance.

  • #2
    Do you have a default xml namespace = 'http://www3.medical.philips.com' statement somewhere before that?

    Comment

    Working...
    X