[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
xml escape carriage return
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.