473,386 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Humble little XSL Firefox extension

Howdy folks,

I have released an extension for Firefox which performs XSL transforms
for an XML file. While Firefox automatically performs XSL transforms
when an XSL stylesheet is attached via a <?xml-stylesheet?processing
instruction, when you "view source", you can only see the original XML
file. This extension works somewhat similar to Microsoft's plugin for
Explorer (at http://www.microsoft.com/downloads/d...displaylang=en
) in allowing you to view the actual output.

My Firefox extension works on a currently loaded XML file, and applies
an XSL stylesheet that the user chooses via a dialog box. It can be
via a URL (http://), through the file protocol (file:///), or a local
file (C:\...). I haven't tested it on Mac or Linux.

Before this extension can be released, it first needs to get some
reviews, so I'd really appreciate it if anyone could take a look. If
there are any problems, feel free to post a reply here (so that I can
fix any major bugs and still have a chance of getting the extension
accepted!), and if you like it, just go ahead and add a review here:
https://addons.mozilla.org/en-US/firefox/addon/5023

Jun 5 '07 #1
4 3469
Oh, one caveat... It doesn't work with XSL files that use <xsl:import>
or <xsl:include>...

Jun 5 '07 #2
On Jun 5, 5:24 pm, Brett <bret...@gmail.comwrote:
Oh, one caveat... It doesn't work with XSL files that use <xsl:import>
or <xsl:include>...
Sorry, one more thing... it does work with <xsl:importand
<xsl:includeif in a URL, but not when loading with a local file.
And, I tested it on a Mac, and it works fine with a URL, but not with
a local file...

Jun 5 '07 #3
Brett wrote:
I have released an extension for Firefox which performs XSL transforms
for an XML file. While Firefox automatically performs XSL transforms
when an XSL stylesheet is attached via a <?xml-stylesheet?processing
instruction, when you "view source", you can only see the original XML
file.
If you do "Select all (Ctrl-a)" and then "view selection source" you get
the result source view, without the need for an extension.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jun 5 '07 #4
Well, I'll be... :) Thanks for that one... Not too obvious a feature
to find...

Well, it was a learning experience anyways... And I suppose the
extension could still be useful if you visit an XML page without a
stylesheet attached and want to try one out...

Jun 5 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: M.N.A.Smadi | last post by:
hi; i want to write a script to do the following: when using firefox to download a textfile, instead of saving it to the hard dist, i want to run a python script on it, and i want the python...
7
by: tagdance | last post by:
Hello friends, I have a very interesting problem with my css files and firefox - I guess ! Listen: I have set up my new website www.tagdance.de For testing purpose I have mirrored this...
5
by: Prophet | last post by:
Might be a stupid question...... but I keep seeing people post about firefox. What is firefox?
14
by: David Blickstein | last post by:
I have some XML documents that I want to open in a web browser and be automatically translated to HTML via XSLT. I'm using an xml-stylesheet processing command in a file called "girml.xml". ...
4
by: J.Marsch | last post by:
Does anyone know of an example or a document describing how to write a plug-in for Firefox in C#? As I understand it, Firefox uses the same plug-in model as Netscape, so if perhaps a Netscape...
2
by: Tomas Martinez | last post by:
Hi there! I'm trying to download a file in my asp.net web, but when downloading it from a Firefox browser, instead of downloading the example.exe file, it's downloading example.exe.htm. My code...
3
by: Csaba Gabor | last post by:
Firefox's configuration settings (Prefs.js) can be accomplished via the interface at about:config. Q1. Is there any such setting that can be repeatedly altered via javascript (in a vanilla...
1
by: One Lazy Russian | last post by:
Thanks in advance to anyone that can help. I created an extension for firefox that acts as a bookmarklet for Gmail, Yahoo, and all standalone clients (via the mailto function). Upon clickin on...
3
by: Hamayun Khan | last post by:
I have Two asp pages addfiles.asp insert.asp addfiles.asp is used to browse the files which i want to upload to server. in IE both the pages run and the files uploads ok. There is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.