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

Re: Euro Entity

Subject: Re: Euro Entity
From: "Jonathan Perret" <jonathan@xxxxxxxxxxxx>
Date: Wed, 20 Feb 2002 19:28:25 +0100
euro entity
You don't say what processor you are using, but interestingly,
your symptoms describe one of the wrong things that can happen
with MSXML when using :
    Response.Write xml.transformNode(xsl)

If you call your transform this way, look no further. What's happening
is that the processor (as I detailed here earlier today) is running the
transform for UTF-16 output. Therefore it does not see the need
for an entity reference, as the Euro sign is representable directly
in UTF-16.
When Response.Write comes and tries to translate the UTF-16
string to iso-8859-1, it sees a character that is outside of iso-8859-1
and simply drops it (hence the '?').

Btw, there is no intrinsic "euro" entity in XML.

Cheers,
--Jonathan

----- Original Message -----
From: "Miguel Angel Medina Lopez" <mamedina@xxxxxxxxxxxxxxxxx>
To: "XSL List" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, February 20, 2002 6:36 PM
Subject:  Euro Entity


> Hi all:
>
> I have a problem with the Euro sign (European Monetary Union) when I
> generate a HTML document using XSL. I use the entity &euro; and &#8364;
and
> the hexadecimal value but the browser always show the character '?'. I use
> the ISO-8859-1 encoding, is that the problem? Any suggestion?



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


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.