[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
in this case o.ContentType will always be xml.
So that's why the browser insists that it's looking at an xml page...
/Gabriel
----- Original Message ----- From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, December 11, 2004 5:26 PM
Subject: Re: [xsl] xsl:output method
Re: [xsl] xsl:output method
Subject: Re: [xsl] xsl:output method From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx> Date: Sat, 11 Dec 2004 17:29:57 +0100 |
oh sorry, I missed that contentType is actually set to XML: Response.ContentType = o.ContentType
in this case o.ContentType will always be xml.
So that's why the browser insists that it's looking at an xml page...
/Gabriel
----- Original Message ----- From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, December 11, 2004 5:26 PM
Subject: Re: [xsl] xsl:output method
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.Are you setting Response.ContentType = "text/html" in the asp page?
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
--
Joe
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:output method, Gabriel K. | Thread | [xsl] How to use xPath expression: , Yuye Chen |
Re: [xsl] how to extract words from, Jan Limpens | Date | RE: [xsl] cdata, grouping and upcon, Michael Kay |
Month |