I looked at this thread to find out how to insert XML into XML with XSLT Insert XML node at a specific position of an existing document
But I have a problem since I need to insert XML between two grand child nodes.
For example I want to insert <s>...</s>
between <r>...</r>
and <t>...</t>
in this file
<root>
<child1>
<a>...</a>
<r>...</r>
<t>...</t>
<z>...</z>
</child1>
</root>
to create this file
<root>
<child1>
<a>...</a>
<r>...</r>
<s>...</s>
<t>...</t>
<z>...</z>
</child1>
</root>
Thanks for your help.