Re: [xsl] xsl:output method

Subject: Re: [xsl] xsl:output method
From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Sat, 11 Dec 2004 17:26:32 +0100
No, I'm not setting any contentType in the ASP page actually... so I guess it defaults to XML because I have made a transformation?

/Gabriel




----- Original Message ----- From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, December 11, 2004 5:22 PM
Subject: Re: [xsl] xsl:output method




----- Original Message ----- From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, December 11, 2004 4:12 PM
Subject: [xsl] xsl:output method



Hey guys.

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


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


Look at http://gabbah.no-ip.org/test.asp?ctype=System&cdoc=Types&cnMaxRows=10, that's the output.

Any help would be appreciated.

/Gabriel
Are you setting Response.ContentType = "text/html" in the asp page?

--

Joe

Current Thread