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

Re: XSLT 2.0 in the browser

Subject: Re: XSLT 2.0 in the browser
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Thu, 25 Jan 2007 11:46:05 +0100
Re:  XSLT 2.0 in the browser
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

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.