K
krach.aran
I am using a xml with the following structure :
<xml ....>
<mainnode>
<node1>value1<node1>
<node2>
<subnode1>val</subnode1>
</node2>
<node3>value3</node3>
<node4>value4</value4>
</mainnode>
This xml i want to transform to
<xml ....>
<mainnode>
<node1>value1<node1>
<node2>
<subnode1>val</subnode1>
</node2>
<node3>value3</node3>
<NEWNODE>value1</NEWNODE>
<node4>value4</value4>
</mainnode>
where a newnode is created after a specific node (node3), and contains
the value of node1.
I am not a XSLT guru so i'm gonna need some help.
TIA
Otto Beragg
<xml ....>
<mainnode>
<node1>value1<node1>
<node2>
<subnode1>val</subnode1>
</node2>
<node3>value3</node3>
<node4>value4</value4>
</mainnode>
This xml i want to transform to
<xml ....>
<mainnode>
<node1>value1<node1>
<node2>
<subnode1>val</subnode1>
</node2>
<node3>value3</node3>
<NEWNODE>value1</NEWNODE>
<node4>value4</value4>
</mainnode>
where a newnode is created after a specific node (node3), and contains
the value of node1.
I am not a XSLT guru so i'm gonna need some help.
TIA
Otto Beragg