File: Data.xml
line 1
line 2
line 3
A
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
select="concat(line[1], '
',
line[2], '
',
' ',
line[3], '
',
' ',
line[4], '
',
line[5], '
',
' -',
attribution)" />
Output:
line 1
line 2
line 3
-A