Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Michael Kay" <mike@------------>
To:
Date: 12/7/2008 10:06:00 AM
> 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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent