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

RE: Problem with rendering of &#160

Subject: RE: Problem with rendering of &#160
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Tue, 13 Apr 2004 23:01:47 +0200
160 html
> -----Original Message-----
> From: Richard.McMillian@xxxxxxxx [mailto:Richard.McMillian@xxxxxxxx]
>

Hi,

<snip />
> ... however the XSL automatically inputs
> <META http-equiv="Content-Type" content="text/html; charset=UTF-16"> after
> the header.   Changing the Content
> value to iso-8859-1 results in the correct rendering of the A0.
> Where does
> the XSL derive this META tag
> value from?  I've included an XML sample and the XSL code below.

Well, my gut feeling would certainly be to try and force the encoding
yourself through adding a META tag, rather than let your processor decide.
Since the HTML Rec requires one there anyway, I'd guess it's up to the
processor to choose one (so implementation-dependent)...

>From the XSLT 1.0 spec 16.2 HTML Output :
<quote>
The encoding attribute specifies the preferred encoding to be used. If there
is a HEAD element, then the html output method should add a META element
immediately after the start-tag of the HEAD element specifying the character
encoding actually used.
</quote>

Hope this helps!

Cheers,

Andreas

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.