[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] encoding issues
Subject: RE: [xsl] encoding issues From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx> Date: Wed, 3 Jul 2002 11:57:22 +0100 |
>The problem is that the output of your transformation is labelled as XML, >but the XML is not well-formed (missing document element). Yeah, thats a typo but it makes no difference >Even if the transformation result *would* be wellformed XHTML, this wouldn't >work, as IE does not support XHTML (properly). Its all come about because I wanted to produce xhtml - by adding the xsl:output element: <xsl:output doctype-system="http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1 -strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" method="xml" encoding="utf-8"/> I inadvertantly added the encoding attribute, which led to IE not selecting unicode. >So the only clean solution is to produce HTML using the "html" xsl:output >method. This will insert the proper META tag (which IE requires to detect >the encoding). True, but   is a non-breaking-space in anyones markup. btw, the <meta> tag only gets inserted if you have a <head> in your output, but yes it does seem to force IE to use unicode (msxml3/4) and utf-8 (saxon). cheers andrew --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] encoding issues, Julian Reschke | Thread | RE: [xsl] encoding issues, Julian Reschke |
RE: [xsl] how to test if attribute=, Vasu Chakkera | Date | Re: [xsl] how to test if attribute=, RPGupta |
Month |