How to convert newline into <br/> with XSLT?

Viewed 18937

Possible Duplicate:
Interpreting newlines with XSLT xsl:text?

How to convert newline into <br/> with XSLT?

I have this:

<text>
some text with 
new lines
</text>

I want to have this:

<p> some text with <br /> new lines </p>
1 Answers
Related