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

Subject: [xsl] RE: Replace newline characters(\n) with <br>
From: Arun Ramdas <aramdas@xxxxxxxxxx>
Date: Wed, 20 Mar 2002 19:30:33 -0500
I found an array of solutions on the web. U can ignore my mail

Thanks,
Arun
>  -----Original Message-----
> From: 	Arun Ramdas  
> Sent:	Wednesday, March 20, 2002 3:53 PM
> To:	'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:	Replace newline characters(\n) with <br>
> 
> 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