Subject: Re: [xsl] XSLT 2.0 in the browser From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx> Date: Thu, 25 Jan 2007 12:10:23 +0100 |
Although actually now that I remember there is an addition of PI filtering somewhere in Windows, settable via the registry, because infopath came with the ability to open XML files that had been written by an office application in the correct version of Office. This however will still only work in IE but it will also work in any XML File opened from the Windows Shell, i.e. Explorer.
I doubt that is on the mime type since Windows doesn't really do mime types, it does extensions and filetypes. so it was probably the addition of a dll to handling files of type XMLFile to the registry.
Cheers, Bryan Rasmussen
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.
What is it you're trying to do?
Cheers, Bryan Rasmussen
On 1/25/07, Colin Adams <colinpauladams@xxxxxxxxxxx> wrote: > >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, Houghton,Andrew |
Re: [xsl] XSLT 2.0 in the browser, Colin Adams | Date | Re: [xsl] ANN: Naxos, an XSLT 1.0 p, Eric Bréchemier |
Month |