EDN Admin
Well-known member
Hi,
I am new to xslt. Below is my Xml:
<root id=1 name=abc>
<child position=1>
...........
</child>
<child position=2>
-------
</child>
<child position=3>
-------
</child>
</root>
I would like to add a new node between <root> and <child position=1> as below using xslt.
<root id=1 name=abc>
<new node>
---------
</new node>
<child position=1>
...........
</child>
<child position=2>
-------
</child>
<child position=3>
-------
</child>
</root>
Can any body help me?
View the full article
I am new to xslt. Below is my Xml:
<root id=1 name=abc>
<child position=1>
...........
</child>
<child position=2>
-------
</child>
<child position=3>
-------
</child>
</root>
I would like to add a new node between <root> and <child position=1> as below using xslt.
<root id=1 name=abc>
<new node>
---------
</new node>
<child position=1>
...........
</child>
<child position=2>
-------
</child>
<child position=3>
-------
</child>
</root>
Can any body help me?
View the full article