Subject: Re: [xsl] Cannot output CRLF From: Owen Rees <owen.rees@xxxxxx> Date: Wed, 03 May 2006 09:47:16 +0100 |
the resulting file in hex, this is what I get:From all the posts I've seen on this list, this should work. But when I view
Code:
48 65 6C 6C 6F 2E 0A
So that's H E L L O [LF]. What happened to the CR (0D)? I've tried this with both Saxon 8.6.1 and Xalan 2.7.0 ... same results.
sh-3.00$ java -jar saxon8.jar -o text-out.txt textout.xslt textout.xslt Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor sh-3.00$ od -t x1 text-out.txt 0000000 48 65 6c 6c 6f 2e 0d 0a 0000010 sh-3.00$ od -t c text-out.txt 0000000 H e l l o . \r \n 0000010 sh-3.00$
-- Owen Rees Hewlett Packard Laboratories, Bristol, UK
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Cannot output CRLF, Paul Venuti | Thread | Re: [xsl] Cannot output CRLF, Paul Venuti |
RE: [xsl] Producing Excel 2000 htm , Joe Fawcett | Date | RE: RE: [xsl] Producing Excel 2000 , cknell |
Month |