[xsl] Replace newline characters(\n) with <br>

Subject: [xsl] Replace newline characters(\n) with <br>
From: Arun Ramdas <aramdas@xxxxxxxxxx>
Date: Wed, 20 Mar 2002 18:51:56 -0500
Hello,
   
  I have the a simple Xml document as shown below

<xml version="1.0">
<message>
string1
string2
string3
</Message>

Technically, the strings are separated by newlines. Now when i write an XSL
for this document, i want to replace all the newlines with <br> so that
these strings appear in three lines in the output.

Thanks,


Arun Ramadoss
Professional
Software Engineer II
E*TRADE Financial
w 650-331-6307



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread