Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Cannot output CRLF


Subject: RE: [xsl] Cannot output CRLF
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 3 May 2006 23:03:41 +0100

Saxon never attempts to convert a newline to CRLF on output. It's possible
of course that the operating system (or Java runtime) might do so, but it
seems unlikely. If you open a file written by Saxon in a text editor, it's
always possible that the text editor has converted the newline to a CRLF.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Paul Venuti [mailto:venutip@xxxxxxxxxxx] 
> Sent: 03 May 2006 22:57
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Cannot output CRLF
> 
> Hi Owen,
> 
> Sorry, just saw your message in my inbox after I replied to 
> Michael. I'm invoking Saxon from the command line on a 
> Windows XP Pro system, like so:
> 
> C:\BMtest>java net.sf.saxon.Transform -o bpam-out.txt 
> bpam.xml crlf.xsl
> Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
> 
> Just so we're both on the same page, I upgraded to the latest 
> A version:
> 
> C:\BMtest>java net.sf.saxon.Transform -t Saxon 8.7.1J from 
> Saxonica Java version 1.4.0_04
> 
> and ran it again. Still the same result.


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords