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

RE: [xsl] text output encoding UTF-16 and controlling LF and CR


Subject: RE: [xsl] text output encoding UTF-16 and controlling LF and CR
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 21 Aug 2003 17:24:40 +0100

Presumably you are using method="text". The XSLT 1.0 spec is unspecific
about how this should output line endings. (In 2.0, it's explicitly
implementation-defined). It might be that the simple solution is to
post-process the output.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Mulberry Technologies List Owner
> Sent: 21 August 2003 15:33
> To: xsl-list
> Subject: [xsl] text output encoding UTF-16 and controlling LF and CR
> 
> 
> >From: "Roger I Martin PhD" <hypernexdev@xxxxxxxxxxxxxxx>
> >To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> >Subject: text output encoding UTF-16 and controlling LF and CR
> >Date: Thu, 21 Aug 2003 07:31:53 -0400
> >
> >Hi,
> >
> >I put the following to the xalan-j-users@xxxxxxxxxxxxxx and it was 
> >suggested that I subscribe and post here too.
> >
> >I'm generating Java source code from mathml using xslt.  I 
> also output 
> >in Unicode format for including Greek symbols (often in the original 
> >mathml and translates nicely).  But I have the problem that 
> the LF CR 
> >output does not get accepted by the jdk1.4 compiler(javac).  
> I believe 
> >javac expects Unicode with only LF.  Does anyone know how to 
> crontrol 
> >LF CR output?
> >
> >--Roger
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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



Current Thread
Keywords