Hello,
the following are links to a xml/xsl data
http://brotherresistance.com/draft/downloads.xsl
http://brotherresistance.com/draft/downloads.xml
While the document is seen correctly in IE....it isnt in NETSCAPE/ FIREBIRD (i have >6)
Why is this happening in netscape?
Kendall
XML not being formatted by XSL in netscape
Moderator: General Moderators
As usual, Bill Gates is trying to be helpful and automatically processing a plain text document as something it is not (or may not be) based on the extension (This is how Bill Gates approaches security, run before ask, one of the biggest windows/IE flaws ever was based on this with .exe and .bat files)...
So, the reason Mozilla won't do anything is because the webserver presents it as a plain text file, you need to add a mimetype for XML documents, I am not entirely sure which one is the right type but I believe text/xml would work... (the Content-type header, you can probably set this in a htaccess file if you dont have root/httpd.conf access, or you can ask your host to add .xml and .xsl files as text/xml)
So, the reason Mozilla won't do anything is because the webserver presents it as a plain text file, you need to add a mimetype for XML documents, I am not entirely sure which one is the right type but I believe text/xml would work... (the Content-type header, you can probably set this in a htaccess file if you dont have root/httpd.conf access, or you can ask your host to add .xml and .xsl files as text/xml)
- kendall
- Forum Regular
- Posts: 852
- Joined: Tue Jul 30, 2002 10:21 am
- Location: Trinidad, West Indies
- Contact:
Stoker,
I went and complained to my IHP about the situation. They redirected the problem back to the browser saying that it may be a browser problem....
However, now get and error message
"Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:http://www.brotherresistance.com/draft/downloads.xsl"
I went and complained to my IHP about the situation. They redirected the problem back to the browser saying that it may be a browser problem....
However, now get and error message
"Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:http://www.brotherresistance.com/draft/downloads.xsl"
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK