Techsavy
asked on
XSLT with nested Elements
Hi,
I would like to number child Elements in the below XML using XSLT. How can we achieve this. basically there can be any number of child Elements nested.
Output :
1 child
1.1 child
1.1.1 child
1 child
1.1.
1 child
1.1 child
Input xml
<?xml version="1.0" encoding="utf-8"?>
<root>
<child>
<child>
<child>
</child>
</child>
</child>
<child>
<child>
</child>
</child>
<child>
<child>
</child>
</child>
</root>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.