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