Re: [xsl] xsl:output method

Subject: Re: [xsl] xsl:output method
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 11 Dec 2004 16:19:28 +0000
>>>>> "Gabriel" == Gabriel K <gabriel.klappenbach@xxxxxxxxxxxx> writes:

    Gabriel> Hey guys.  In my XSL I have <xsl:output method="html"
    Gabriel> media-type="text/html" encoding="ISO-8859-1"
    Gabriel> indent="yes"/>

    Gabriel> But my browser still says it's type is "text/xml", and
    Gabriel> complains that the META tag is not closed. Why does it
    Gabriel> think it's an XML file when I output a page that looks
    Gabriel> like 100% HTML?  Does this have something to do with
    Gabriel> doctype? I don't know much about that I must confess.

Is this XSLT transformation taking place on the server? If so, then
the xsl:output won't affect which media-type the server is setting.
-- 
Colin Paul Adams
Preston Lancashire

Current Thread