web stats
Mirth Community - View Single Post - Specifying xsi:nil="true" on XML element
View Single Post
Old 09-24-2015, 02:10 PM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

I think the issue is that you're overwriting those nodes, so any attributes are reset. You can add that namespaced attribute back though, like this:

var xsi = new Namespace('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
tmp['mesajBilgisi']['mesajTipi'].@xsi::nil = 'true';
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote