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

Re: Special Characters in IE 6

Subject: Re: Special Characters in IE 6
From: "Charles White" <chuck@xxxxxxxxxxx>
Date: Mon, 16 Jun 2003 16:32:53 -0700
xsl character codes
Presumably your 3rd party software is generating ISO-8859-1 encoding? Have
you tried setting your output encoding attribute in the xsl:output element
to ISO-8859-1 and getting rid of your meta literal result element? Let the
xsl:output element do as much work as you can. You can set doctypes there,
too.

Chuck White
Author, Mastering XSLT, Sybex Books
http://www.javertising.com/webtech
http://www.tumeric.net

----- Original Message -----
From: "Rowlinson, Nicole SLGA" <NRowlinson@xxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, June 16, 2003 2:48 PM
Subject:  Special Characters in IE 6


> I have a problem with special characters not displaying properly in IE 6.
I
> use numeric character codes, such as &#160; for a space, and they all
> display as a question mark in IE 6.  They all worked fine in IE 5.5, so
I'm
> not sure what is different now.
>
> The encoding I am using in my XSL is:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0" xmlns="http://www.w3.org/TR/REC-html40">
> <xsl:template match="/">
> <html>
> <head>
> <meta http-equiv="content-type"
> content="text/html; charset=UTF-8" />
> </head>
> ...
>
> If I include
>
> xmlns="http://www.w3.org/TR/REC-html40"
>
> in my namespace, it gets rid of the question marks, but then the special
> characters that don't use a numeric code, such as apostrophes, appear as
> garbage characters.  I can't find the right combination to get rid of both
> these problems at the same time.
>
> I should say that I don't have control over the XML, as it is generated by
a
> third-party product.
>
> Any help is greatly appreciated!
>
> Nicole R.
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 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.