[thelist] character encoding & validation
Duncan O'Neill
dbaxo at ihug.co.nz
Fri Jul 26 17:03:00 CDT 2002
aardvark wrote:
>>Duncan O'Neill <dbaxo at ihug.co.nz> wrote:
>>
>>
>>>The validator is complaining about the character-
>>>encoding. The server is spitting it out by default as
>>><meta http-equiv="Content-Type" content="text/html; charset=UTF-16">
>>
>
> i missed this post last night...
>
> have you tried:
> <xsl:output method="html" encoding="ISO-8859-1" />
>
> or perhaps the more verbose:
> <xsl:output
> method="html"
> indent="yes"
> encoding="ISO-8859-1"
> version="4.0"
> media-type="text/html"
> omit-xml-declaration="yes"/>
Thanks for your reply . Maybe I used the wrong
terminology in my first post. (XSL vs. XSLT)?
( I'm not an expert at this, as you guessed )
I can't seem to legally use the code you
suggest. Perhaps it would help if I posted the
first few lines of my .xsl file;
===
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>
...
====
thanks again,
--
=====================================================
Duncan O'Neill
"Smith The Reporter"
http://homepages.ihug.co.nz/~dbaxo/urban_legend.htm
=====================================================
More information about the thelist
mailing list