Subject: Re: [xsl] PHP XSL adds Content-Type meta From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 08 May 2007 10:58:37 +0200 |
Cheers, -- Abel Braaksma
Hi all,
I'm using PHP's XSL extension (which uses libxsl, AFAIK). When I specify
<xsl:output method="xml" encoding="UTF-8" indent="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
the processor adds
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
to the output. This is not needed, because the encoding is not known at this point and negotiated later according to the HTTP headers. For the same reason I cannot specify it directly in the <xsl:output>. Is it possible to turn this feature (bug?) off?
Thanks,
Martynas
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] PHP XSL adds Content-Type met, Martynas Jusevicius | Thread | Re: [xsl] PHP XSL adds Content-Type, Abel Braaksma |
[xsl] PHP XSL adds Content-Type met, Martynas Jusevicius | Date | Re: [xsl] PHP XSL adds Content-Type, Abel Braaksma |
Month |