[xsl] Cannot output CRLF

Subject: [xsl] Cannot output CRLF
From: "Paul Venuti" <venutip@xxxxxxxxxxx>
Date: Tue, 02 May 2006 13:29:01 -0400
Hi. I'm trying to output a carriage return followed by a line feed (CRLF) for compatability with a mainframe system I'm working with (don't ask). For some reason, though, I never get the CR.

To simply the issue, I'm using the following stylesheet:


<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

<xsl:output method="text" />

<xsl:template match="/">
 <xsl:text>Hello.& # x d; & # x a;</xsl:text>


(I added the extra spaces so those aren't interpreted as breaks by the browser -- in the actual stylesheet, there are no spaces.)

Current Thread