RE: [xsl] method='text' ... whitespace problems

Subject: RE: [xsl] method='text' ... whitespace problems
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 19 Nov 2002 13:39:20 -0000
> 
> 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.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread