|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: A general question (Mozilla & xsl)
I'd like to add my $.02, since I experienced a similar frustration.
Does the http server send .xsl as text/plain or text/xml? The default
configuration of Apache on my box (Red Hat 7.2) uses the first mime type
and Galeon/Mozilla doesn't apply the stylesheet in that case.
To test it, just telnet to port 80 and look, or use
wget -qs http://yourdomain.foo/yourfile.xsl -O - | grep
Content-type
(-s tells wget to save the headers, so that grep cat find them).
If the output of the above is 'Content-type: text/plain' you should edit
your webserver configuration.
For Apache, just find how mime types are handeld, eg.
grep TypesConfig /etc/httpd/conf/httpd.conf
and edit the suitable file (in my case /etc/mime.types) to modify the line
text/xml xml
to
text/xml xml xsl
which simply tells that files with .xsl extension are xml files.
Good luck,
Massimo
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








