[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: A general question (Mozilla & xsl)

Subject: RE: A general question (Mozilla & xsl)
From: Massimo Santini - mailing list address <mm14ss@xxxxxxxx>
Date: Sat, 23 Feb 2002 23:27:00 +0100 (CET)
massimo santini
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.