Subject: Re: [xsl] Unable to get Firefox to apply XSL From: "Michele R Combs mrrothen@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 30 Mar 2022 19:54:40 -0000 |
Oh wow, thank you b I just tested it and works perfectly. This might be the answer. Do you know if it could be modified to work with file *names* rather than dragging/dropping the entire file? Also, why does this avoid the security issue? Michele From: David Carlisle d.p.carlisle@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, March 30, 2022 3:33 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Unable to get Firefox to apply XSL If running a server is too much you can still run xslt 1 stylesheets in the browser off the filesystem if you use an html file so there is some human interaction rather than the xml-stylesheet processing instruction link. I wrote this a while ago (more than a decade I guess:-) I just removed a few local features and it seems to work in firefox chrome and edge You can drag and drop a source file and an xslt file in to the boxes then click run and the resulting html appears in a div on the page. You can then edit the source within the page and re-run. It could be made prettier and have at least an attempt at error checking but If you save the three files locally and open test1.html in your browser you should be able to drag and drop the xml source and xslt in to the boxes then click run to see the result. David On Tue, 29 Mar 2022 at 22:06, Michele R Combs mrrothen@xxxxxxx<mailto:mrrothen@xxxxxxx> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx<mailto:xsl-list-service@xxxxxxxxxxxx rytech.com>> wrote: This is XSL-coding-adjacent so Ibm hoping someone knows. Firefox is declining to apply an xsl stylesheet to an XML document. This is a pair of documents Ibve 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 Firefoxbs privacy.file.unique.origin setting in about:config but that particular setting doesnbt seem to be present in this latest version of Firefox, at least I donbt 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 Ibd 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<http://scrc.syr.edu> SYRACUSE UNIVERSITY syr.edu<http://syr.edu> XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list> EasyUnsubscribe<http://lists.mulberrytech.com/unsub/xsl-list/2739265> (by email) XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list> EasyUnsubscribe<http://lists.mulberrytech.com/unsub/xsl-list/1127818> (by email<>)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Unable to get Firefox to , David Carlisle d.p.c | Thread | Re: [xsl] Unable to get Firefox to , David Carlisle d.p.c |
Re: [xsl] Unable to get Firefox to , Imsieke, Gerrit, le- | Date | Re: [xsl] Unable to get Firefox to , David Carlisle d.p.c |
Month |