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>
On Thu, May 14, 2009 at 4:20 PM, Rushforth, Peter
<Peter(_dot_)Rushforth(_at_)nrcan-rncan(_dot_)gc(_dot_)ca> wrote:
Hi List,
Is there any way in a browser to have the input doc processed using an
xml-stylesheet pi, and have the result kick off an application (e.g. the
output of the stylesheet is kml so the browser fires up google earth,
say).
I've tried this <?xml-stylesheet type="text/xsl"
media="vnd.google-earth.kml+xml" href="..."?>
but I think the result is kml as rendered by IE or FF.
I have a vnd.google-earth.kml+xml which fires up GE when I access a kml
url over http, but I would
like it to work locally too, if that was possible.
I justify a post to this list on the grounds that I don't believe it is
application specific, but stylesheet technology in general.
Thanks for any hints!
Cheers,
Peter Rushforth
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--
- michael dykman
- mdykman(_at_)gmail(_dot_)com
- All models are wrong. Some models are useful.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--