I faced the same problem a year ago. It was part of an issue that I
posted on this list (on the 21st of February, to be precise). Martin
Honnen, in a reply to my post, surmised that Firefox executes the
stylesheet only when it is in the same folder or a subordinate folder as
the XML file, not when it is in a superordinate folder. I found this
assumption to be correct. So, as far as I was able to figure out back
then, there are two solutions to the problem:
1) Move the XSL stylesheet to the same or a subordinate folder as the
XML file.
2) Install a web server on the computer and serve the XML file via the
web server.
I chose option 2 because, in my case, it was the easier solution.
Cheers,
Wolfhart
On 29-03-22 18:06, Michele R Combs mrrothen@xxxxxxx wrote:
>
> This is XSL-coding-adjacent so Im hoping someone knows.
>
> Firefox is declining to apply an xsl stylesheet to an XML document.
> This is a pair of documents Ive used many times over the years for
> demoing how the browser can be used to apply XSL to render an XML file
> into HTML. Last year we had to tweak Firefoxs
> privacy.file.unique.origin setting in about:config but that
> particular setting doesnt seem to be present in this latest version
> of Firefox, at least I dont see it in about:config, nor anything
> resembling it. Both the XML and XSL are in the same local folder on
> my desktop. If anyone knows a fix Id be grateful.
>
>
> Thanks
>
> Michele
>
> *+++++++++***
>
> *Michele Combs*| Lead Archivist
>
> Special Collections Research Center
> *Visit our blog!*//library-blog.syr.edu/scrc/
> <http://library-blog.syr.edu/scrc/>
> Syracuse University Libraries
> 222 Waverly Ave
> Syracuse, New York 13244
>
> *t*315.443-2081 |*e*mrrothen@xxxxxxx <mailto:mrrothen@xxxxxxx> | *w*
> scrc.syr.edu
>
> *SYRACUSE UNIVERSITY*
> syr.edu
>
> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/2652055>
> (by email <>)
|