File: Data.xml
title 1
chapter 1
line 1
line 2
title 2
line 3
line 4
File: Transform.xslt
version="1.0">
Output:
title 1
chapter 1
line 1
line 2
title 2
line 3
line 4