xsl-list
[Top] [All Lists]

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

2003-08-21 09:24:40
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(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] 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(_at_)hypernexinc(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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(_at_)xml(_dot_)apache(_dot_)org 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



<Prev in Thread] Current Thread [Next in Thread>