RE: escape character for carriage-return??

Subject: RE: escape character for carriage-return??
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 30 Jun 1999 16:42:43 -0600
> What escape character do I use to generate a carriage-return 
> / end-of-line in my XSL transformation documents?
> 
> The specs said #xD or #xA would work, but they didn't.

&#xA; is the same as &#10; which is ctrl-J or LF (linefeed; usually
sufficent)
&#xD; is the same as &#13; which is ctrl-M or CR (carriage return)

When you say &#xA; (which is what I assume you meant, not #xA) doesn't work,
I assume you mean to say that you're not seeing it in some certain output
... what output are you looking at, exactly? Can you give us an example?
What XSL processor are you using? What result-ns are you using?

The reason I ask is because the linefeed character probably *is* getting
into the result tree, but maybe you're not seeing it in the output document
derived from that tree. We also had someone saying something similar
recently, and it turned out they were looking at a browser's rendering
instead of the HTML which had been derived from the result tree.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread