Next in thread → Next in month →

RE: [xml-dev] replace string /empty space in xslt 1

From
Michael Kay <>
To
'Taly' <>,
Date
2008-07-19T17:18:12Z
ID
<5CA4F66495374500B5F9BDD227E8EABA@Sealion>
Thread
RE: [xml-dev] replace string /empty space in xslt 1
I don't know how you did your searching, but if you google for

XSLT 1.0 replace newline by <br>

you get 23000 hits and the first dozen or so all give you the answer.

(Perhaps your text really contains "/n" rather than newline - or perhaps it
contains "\n" - but the logic is still the same).

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Taly [mailto:] 
> Sent: 19 July 2008 17:54
> To: 
> Subject: [xml-dev] replace string /empty space in xslt 1
> 
> Hi all,
> I need you assistance. I have a system in xslt 1. my problem 
> is that the xml I get from another system , contain '/n' , 
> the html result wouldn't break the line.
> I want to replace the '/n' with <br> symbol. I search the net 
> and find only replace string that doesn't work in xslt 1.
> Will be happy to learn from your experience Thanks
> 
> 
> 
> ______________________________________________________________
> _________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by 
> OASIS to support XML implementation and development. To 
> minimize spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: 
> subscribe:  List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
Next in thread → Next in month →