File: Data.xml
red
green
blue
yellow
File: Transform.xslt
version="1.0">
.
Output:
1
.
red
2
.
green
3
.
blue
4
.
yellow