Hi,
I would like to insert a node between 2 others already existing. In my script, I receive a xml variable and I would like to update this one.
Ex :
<mapping ...>
<INSTANCE .. />
<INSTANCE .. />
<CONNECTOR .. />
<CONNECTOR .. />
</mapping>
the result should be :
<mapping ...>
<INSTANCE .. />
<INSTANCE .. />
<NEWINSERT .../>
<CONNECTOR .. />
<CONNECTOR .. />
</mapping>
When I use a appendChild, the insert is done always done at the end...
An idea ?
Thanks !