I want to create a variable with the content of new line, so that I can insert it to a string for example "This is a string!" that it becomes "This is \na string!". Does anybody can help with an idea?
I tried with
<xsl:variable name="new-line">
</xsl:variable>

but it doesnot work. The output is still:
This is a string!


If I write this way
<xsl:variable name="new-line">n
n</xsl:variable>

the output string becomes:
This is n
na string!

The new line works. But the problem is that I donot want the two 'n's

Thanks very much in advance!