Subject: Re: [xsl] XSLT 2.0 in the browser From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx> Date: Thu, 25 Jan 2007 11:46:05 +0100 |
I don't think you get that granularity with urlmon either, what you get is filtering on the mime type then the application that runs with your mime type must determine if there is an xsl-stylesheet PI. I suppose actually this is handled somewhere in Firefox's xslt processor though, so to add code for specific PIs it should be done there. http://www.mozilla.org/projects/xslt/
There is also the default xslt that gets run with any xml file for displaying it. I have done some hacking on that in the past but it wouldn't go too far because there was problems gettng node-sets to work, and javascript in the output wouldn't work (maybe this has changed in the last couple of years, if anyone knows?) so dependent on what you wanted to do you could maybe use that xslt to handle it.
Cheers, Bryan Rasmussen
>From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
>oops, I just realized what you wanted was how does firefox handle mime >type filtering. You can add that via the menu at >Tools/Options/Content/File Types. Not sure what file this is >represented by in your firefox installation.
I don't think so - that would enable me to say what to do when a file was delivered with a mime type of application/xslt+xml. But what is needed is to hook the action when firefox is to display an xml file containing an xsl-stylesheet PI with type="application/xslt+xml".
_________________________________________________________________ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT 2.0 in the browser, Colin Adams | Thread | Re: [xsl] XSLT 2.0 in the browser, Colin Adams |
Re: [xsl] Error -- Could not find f, Abel Braaksma | Date | Re: [xsl] XSLT 2.0 in the browser, Colin Adams |
Month |