File: Data.xml
the first chapter
the second chapter
the third chapter
the fourth chapter
the fifth chapter
File: Transform.xslt
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
The text the Chapter element node contains is ' '.
Output:
The text the Chapter element node contains is 'the second chapter'.