xsl-list
[Top] [All Lists]

RE: method='text' ... whitespace problems

2002-11-19 06:39:20

DC wrote:
XSLT1 is delightfully quiet about newlines in text output

Mike, how does 6.5.2 do on this please?


Saxon 6.5.2 will write a newline (x0A) directly to the output stream. If
this is a binary output stream, you will get x0A in the output. If you
supply a character output stream (i.e. a Java writer) then Java may
change it to the platform-specific line ending - I'm not sure. When you
call Saxon from the command line, you get a binary output stream.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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