xsl-list
[Top] [All Lists]

Re: xsl:output method

2004-12-11 09:19:28
"Gabriel" == Gabriel K 
<gabriel(_dot_)klappenbach(_at_)bredband(_dot_)net> 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

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>