[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] firefox xslt processing instruction
Subject: Re: [xsl] firefox xslt processing instruction From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 20 Oct 2004 13:28:56 +0100 |
at work I get this error from Firefox: Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype: That (usually) means that you are loading the file from an http server and it doesn't have an xml mime type (eg it is being served with text/html or text/plain) in which case you need to change your server config "Content Type"="application/xslt+xml" I don't think a +xml type for xsl is registered (yet) I'd stick to application/xml which works everywhere I've tried it. or (less likely) you have things set up on your machine so that local files with extension .xsl are treated as non-xml, in which case you need to change the local settings on your machine. Nothing in the stylesheet or <?xml-stylesheet PI will affect this. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] firefox xslt processing instr, Bryan Rasmussen | Thread | Re: [xsl] firefox xslt processing i, Bryan Rasmussen |
[xsl] firefox xslt processing instr, Bryan Rasmussen | Date | RE: [xsl] Totalliing, Andrew Welch |
Month |