web stats
Why is inserted xmls attribute on my xml object? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2018, 01:10 AM
eliancitomix eliancitomix is offline
Mirth Newb
 
Join Date: Apr 2018
Posts: 8
eliancitomix is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 05-31-2018, 03:07 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 967
agermano is on a distinguished road
Default

Do you have a default xml namespace = 'http://www3.medical.philips.com' statement somewhere before that?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation