Announcement

Collapse
No announcement yet.

empty XML tags

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

  • empty XML tags

    how can I make mirth E4X to return an empty xmltag and not a self-closing tag

    ie:

    tmp['MyTag'] = '';

    output is
    <MyTag />

    I want it to output
    <MyTag></MyTag>

  • #2
    Unfortunately, I don't think this is possible with e4x. You might have to post-process it with something else to convert them.

    Comment


    • #3
      Yes, I had to do this for a client that wanted it (against the rules of XML) and it was a pain. It CAN be done though.

      -= Jack Haines : Founder/CEO of Healthcare Integrations, LLC
      -= [email protected]
      -= Mirth Connect (Advanced)-certified
      -= Gold member of HL7.org
      -= Available for Mirth Connect channel development and consultation! Schedule a FREE call with me at https://calendly.com/jackhaines

      Comment

      Working...
      X