RE: [xsl] Line feeds to breaks

Subject: RE: [xsl] Line feeds to breaks
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Wed, 19 Jan 2005 13:03:07 +0200
Hi,

> Appologies if you have already received this ...our email 
> system is playing
> silly buggers...
> 
> 
> 
> I'm having a problem with converting line feeds to html breaks.
> 
> 
> 
> Microsoft value is &#10;
> 
> 
> 
> 
> Java /Unix value is &#13;
> 
> 
> 
> 
> 
> When the page is transformed, the line breaks are huge depending on
> which
> value is used and what platform you display the page on.

In character data, all line breaks are normalized to #xA <http://localhost/TR/rec-xml/#sec-line-ends>, and the XPath source tree will only contain #xA characters for line breaks. However, if you use character references instead, they're left as is. What does your source look like?

Cheers,

Jarno

Current Thread