[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: 16-bit entities converted to "?" by XSLT
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 7 Dec 2008 10:05:12 -0000
RE:  16-bit entities converted to "?" by XSLT
> 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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.