xsl-list
[Top] [All Lists]

Re: [xsl] Unable to get Firefox to apply XSL

2022-03-29 16:26:09
I missed that you mention that XML and XSL are in the same folder, sorry. So, in that case, I don't know, except consider option 2, as Martin just wrote.


On 29-03-22 18:20, Wolfhart Totschnig wrote:
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(_at_)syr(_dot_)edu wrote:

This is XSL-coding-adjacent so I’m hoping someone knows.

Firefox is declining to apply an xsl stylesheet to an XML document.  This is a pair of documents I’ve 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 Firefox’s  privacy.file.unique.origin setting in about:config but that particular setting doesn’t seem to be present in this latest version of Firefox, at least I don’t 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 I’d 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(_at_)syr(_dot_)edu <mailto:mrrothen(_at_)syr(_dot_)edu> | *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 <>)

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>