web stats
Mirth Community - View Single Post - I would like to add items to my xml file
View Single Post
  #1  
Old 05-09-2019, 05:45 AM
Adrien Adrien is offline
Mirth Newb
 
Join Date: Mar 2019
Posts: 9
Adrien is on a distinguished road
Default I would like to add items to my xml file

I can not add the items below.
If I understand correctly, I have to create a script in javascript but I do not know these languages.
Can someone help me solve my problem?


Xml before :

<execute>
<date>2019-03-05</date>
<heure>11:33:00</heure>
</execute>
<NABMs>...</NABMs>

I would like :

<execute>
<date>2019-03-05</date>
<heure>11:33:00</heure>
</execute>
<prestataire>
<medecins>
<medecin>
<numeroAdeli>12345</numeroAdeli>
<identification>
<code>AAA</code>
<libelle>BBB</libelle>
</identification>
</medecin>
</medecins>
<uniteFonctionnelle>
<code>789</code>
<libelle>YYY</libelle>
</uniteFonctionnelle>
</prestataire>
<NABMs>...</NABMs>

Last edited by Adrien; 05-09-2019 at 05:47 AM.
Reply With Quote