M
Martin Honnen
GR33DY wrote:
Make sure the server serves style.xsl as text/xml or application/xml.
See the Mozilla XSLT FAQ at
http://www.mozilla.org/projects/xslt/faq.html
When I view my XML page using I.E.6 it displays fine from both my web
server and when opened from windows explorer.
But when I view it in mozilla 1.7, it displays fine from windows
explorer, but when viewed via HTTP from the web server I get the
following error;
Error loading stylesheet: An XSLT stylesheet does not have an XML
mimetype
My server has the XML mimetype text/xml and I have tried configuring it
with text/xsl as well to no avail.
My XML page starts thus;
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="style.xsl"?>
Make sure the server serves style.xsl as text/xml or application/xml.
See the Mozilla XSLT FAQ at
http://www.mozilla.org/projects/xslt/faq.html