XSL Results is a Firefox extension that can display the results of an XSL transformation.
Displays XSL transformation results (XSLT 1.0 or XSLT 2.0 via Saxon B) of the currently-loaded document in Firefox or a manually-entered XML document by a stylesheet attached via a local file reference, a URL, or a manually typed XSL file.
The default behavior is to use the current loaded document in Firefox. This can even work on poorly-formed HTML, as Firefox's inner DOM representation is used to first convert the document to a more well-formed status (though this may not work in some cases).
Please note that in Firefox 3.0 (at least b2), you cannot paste a URL directly into the text box, but you can paste it after the local file dialog appears (at least on Windows).
There is also a context menu item available to immediately grab the transformation results of the current XML document with an already-attached stylesheet and places the results in a textbox (achieves a similar effect as the built-in (yet-not-so-easily-discoverable) Firefox behavior of selecting-all on an XML document and choosing "View selection source"). This will just grab the source of a document if no stylesheet is attached.
The Convert-to-HTML processing in the application will attempt to convert an upper-cased Firefox DOM representation of HTML (i.e., when a genuine XML document or XHTML-served-as-application/xhtml+xml is not the current document) into its potentially more proper or convenient lower-case form (and make some other potential fixes affecting poorly-formed HTML).
If you like it, please consider a small donation to spur the further development of this or other such free and open-source tools.
- Add option to add XSL results to tab
- Put focus at top of XSL textbox after selecting a file