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

Subject: Re: [xsl] PHP XSL adds Content-Type meta
From: "Alexander Johannesen" <alexander.johannesen@xxxxxxxxx>
Date: Tue, 8 May 2007 19:45:27 +1000
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 -- --------------------------------------------------------------------------- Project Wrangler, SOA, Information Alchymist, UX, RESTafarian, Topic Maps ------------------------------------------ http://shelter.nu/blog/ --------

Current Thread