RE: [xsl] Carrage return and line feed.

Subject: RE: [xsl] Carrage return and line feed.
From: Andrew Curry <andrew.curry@xxxxxxxxxxxx>
Date: Mon, 18 Oct 2004 10:02:16 +0100
I have tried using 
carrige return = &#13;
line feed = &#10; 

this produces a line feed only as the processor (xalan) seems to convert
this just too a line feed.


-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: 18 October 2004 09:37
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Carrage return and line feed.


Hi,

> Does anyone know how to put a carrage return(CR) / line 
> feed(LF) as a CR/LF
> and not have the CR / LF converted to LF?
> I know by default CR / LF is converted to LF but we need both.

Use character references instead of the the actual characters in your
stylesheet, that way the XML parser will not normalize them.

Cheers,

Jarno - Velvet Acid Christ: Malfunction (Destructive mix by Funker Vogt)


Current Thread