xsl-list
[Top] [All Lists]

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

2007-05-08 02:45:41
On 5/8/07, Michael Kay <mike(_at_)saxonica(_dot_)com> 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/ --------

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--