Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:http://www.mywebsite/other/rss/xsl/RSS.xsl

I have written an XSL stylesheet for the XML output for my RSS feed. Everything has been working fine using IE6, however, using Firefox as my browser, I receive the following error:

Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:http://www.mywebsite/other/rss/xsl/RSS.xsl

RSS.XSL header:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >

RSS.XML:

<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="Style/RSS.xsl"?>

Any help would be greatly appreciated.
Many thanks,

2me

LVL 4
davystocksAsked:
Who is Participating?
 
RedKelvinConnect With a Mentor Commented:
This says it better than I can, take a read of this
http://www.se.eecs.uni-kassel.de/~thm/Linux/mozilla-xml-xsl.html

RedK
0
 
davystocksAuthor Commented:
Thanks for your help Redk. Although I'm working in a different web environment, this link cut out most of the rubbish I was trying to sift through. Great!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.