File: Data.xml
Chapter A
Chapter B
Chapter C
Chapter D
File: Transform.xslt
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Chapter
First chapter
Last chapter
:
Output:
First chapter : Chapter A Chapter : Chapter B Chapter : Chapter C Last chapter : Chapter D