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

RE: xml-stylesheet in browser results / mime type ass

Subject: RE: xml-stylesheet in browser results / mime type association
From: "Rushforth, Peter" <Peter.Rushforth@xxxxxxxxxxxxxxxxx>
Date: Thu, 14 May 2009 17:06:59 -0400
RE:  xml-stylesheet in browser results / mime type  ass
Hi Michael,


>
> I don't know much about the auto-launch issue, but if you
> want to effect the mime type, you need to add it as an
> attribute of the xsl:output element like so:
>
> <xsl:stylesheet>
> <xsl:output  media-type="vnd.google-earth.kml+xml" />
>
> ...
> </xsl:stylesheet>

I tried that too but it didn't have any effect.  I think browsers may
be hardwired to believe the result is html in such a situation, and they
try to interpret it as such.

Cheers,
Peter

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.