xsl-list
[Top] [All Lists]

RE: [xsl] 16-bit entities converted to "?" by XSLT

2008-12-07 05:05:39

My browser shows this correctly, but when I embed it in some 
XML and run it though my stylesheet, the output is this:

   <span style='font-size: 11pt; font-family: Arial;' lang='HE'>
      ????
   </span>


When you say the output "is" this, I suspect you mean the output "looks
like" this, when displayed using some piece of software to some output
device. Are you sure that piece of software and that output device are
capable of rendering Hebrew characters correctly? Because it's very likely
that the XSLT output is correct, but can't be displayed the way you are
trying to display it.

If you want to avoid such problems, one way is to use <xsl:output
encoding="iso-8859-1"/> which will force Hebrew characters to be output as
numeric character references, similar to the way they appeared in your
input.

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--