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

Re: MIME Type for XSL

Subject: Re: MIME Type for XSL
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 18 Nov 2002 15:31:32 -0700 (MST)
mime text xsl
David Carlisle wrote:
> 
>   text/xsl
>   or
>   text/xml
> 
> text/xsl has never been registered (although it was used in some
> examples in various documents, and it works in IE)
> 
> following the new house style for xml releated mime types it's _supposed_
> to be text/xslt+xml but

per rfc 3023, use of 'text' media type is less than favorable. if the intent
is to process the xsl and not just view it, or unless some other encoding
related conditions are met, application/xslt+xml is preferable.

of course, using this today has the downside that web browsers / OSes treat
unrecognized subtypes of 'application' with great caution and don't easily
give you the option of saying "from here on out, treat this the same way you
treat text/xsl".

> text/xml
> 
> is also correct (as xslt is XML) and has the benefit of working in
> IE Mozilla and netscape, so I'd use text/xml.

i'd underscore the fact that there's a clear difference between 
what is correct and what works in these applications... "works"
in the sense that the applications behave the way you're intending.

the original poster will have to decide whether to do what's correct
or just do what works. it's like HTML in the Netscape's heyday...

-mike

 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.