RE: [xsl] An XSLT stylesheet does not have an XML mimetype

Subject: RE: [xsl] An XSLT stylesheet does not have an XML mimetype
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 00:10:50 +0100
You may have to change the web server configuration to define the MIME type
of files with a .xsl extension. Netscape is much stricter about using the
MIME type notified by the server than IE is.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: raven [mailto:ra5en2000@xxxxxxxxx] 
> Sent: 06 October 2004 23:44
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] An XSLT stylesheet does not have an XML mimetype
> 
>  
> 
> Greetings. I have created a set of documents that when
> I call them in Internet Explorer, they work fine, but
> when I call them in Netscape, I receive "Error loading
> stylesheet: An XSLT stylesheet does not have an XML
> mimetype." 
> 
> The top lines of my XML code read as follows:
> 
> <?xml version="1.0" encoding="ISO_8859-1"?>
> <?xml-stylesheet type="text/xsl" href="about.xsl" ?>
> 
> xml code . . .
> 
> The top lines of about.xsl are:
> 
> <xsl:stylesheet
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> version="1.0">
> <xsl:output method="html" encoding="ISO_8859-1" />
> 
> What must I modify to get this to work in
> Netscape/Mozilla? 
> 
> Thank you.
> 
> ra5en
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com

Current Thread