Subject: RE: [xsl] xml-stylesheet in browser results / mime type association From: "Rushforth, Peter" <Peter.Rushforth@xxxxxxxxxxxxxxxxx> Date: Thu, 14 May 2009 17:06:59 -0400 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xml-stylesheet in browser, Michael Dykman | Thread | Re: [xsl] xml-stylesheet in browser, Michael Dykman |
Re: [xsl] xml-stylesheet in browser, Michael Dykman | Date | Re: [xsl] xml-stylesheet in browser, Michael Dykman |
Month |