xsl-list
[Top] [All Lists]

RE: An XSLT stylesheet does not have an XML mimetype

2004-10-06 16:10:50
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(_at_)yahoo(_dot_)com] 
Sent: 06 October 2004 23:44
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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

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