[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] PHP XSL adds Content-Type meta


Subject: Re: [xsl] PHP XSL adds Content-Type meta
From: Jeff Sese <jsese@xxxxxxxxxxxx>
Date: Tue, 08 May 2007 17:50:29 +0800

there's no output="xhtml" in xslt 1.0

jeff

Alexander Johannesen wrote:
On 5/8/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
Your snippet suggests you are using method="xml"; if that's the case then no
<meta> element should be added.

I think what happens is that the combination of output="xml" and the correct XHTML DTD triggers what's known as output="xhtml", which indeed triggers the output to contain certain things (and is quite similar to output="html"), such as the meta content-type, and stuff like CDATA wrappers for <script>.


Alex


Current Thread
Keywords