web stats
XML transformer - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-16-2019, 01:52 AM
Adrien Adrien is offline
Mirth Newb
Join Date: Mar 2019
Posts: 9
Adrien is on a distinguished road
Default XML transformer

I created a channel.

In this source channel (file reader), I get back my XML file which is in a folder.
Here is a part of the file :


With a transformer I would like to add this :

<prestataire><medecins><medecin><numeroAdeli>12345 </numeroAdeli>

between the tag : </execute> and <NABMs>

In Destination transformer I create step : type -> Javascript
I dont know how to code what I want. ( I never develop on mirth and
I know a little about JavaScript)

I need help coding my task!

Thank you in advance to any one who may be able to give me some ideas.

Reply With Quote

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 03:21 PM.

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