This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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@logic-factory.com>
To: "XSL List" <XSL-List@lists.mulberrytech.com>
Sent: Wednesday, February 20, 2002 6:36 PM
Subject: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]