Yes the transformation is done on the server using VB-script.
Isn't it weird that the transformation gives me HTML (for instance the meta
tag is not closed, neither is link tag), but STILL the media-type is xml?
And it doesn't matter if I set the output to xml, it still generates html.
I'm really confused now. Please explain if you can :)
/Gabriel
----- Original Message -----
From: "Colin Paul Adams" <colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Saturday, December 11, 2004 5:19 PM
Subject: Re: [xsl] xsl:output method
"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>
--~--
--~------------------------------------------------------------------
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>
--~--