[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: escape character for 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. 
 is the same as which is ctrl-J or LF (linefeed; usually sufficent) 
 is the same as which is ctrl-M or CR (carriage return) When you say 
 (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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|