My VERY basic blog site http://www.jonrisdon.co.uk/blog/alt_blog.html shows a simple javascript-driven slideshow in an iFrame; each 'slide' is an iFrame within a div (with a fade attribute) that loads an xml file that is a link to the relevant blog post: click the link to load the blog post (target="_top"). This works fine in Safari & Chrome, but in Firefox 51, I keep getting the error message "Error loading stylesheet: An unknown error has occurred ()" in the iFrame. This is shown in the Inspector for the page under #document with the tag <parsererror>.
I ran a search for similar problems and only came up with 2, and they were both more than 6 years old with no answers; can anybody help please? If you need code, let me know, but it is easily found on the site! Thanks very much in advance, Jon.
Error loading stylesheet (xslt from xml)
-
- Posts: 2
- Joined: February 28th, 2017, 10:32 am
- DanRaisch
- Moderator
- Posts: 127229
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Error loading stylesheet (xslt from xml)
Moving to Web Development.
-
- Posts: 173
- Joined: June 12th, 2012, 7:59 am
Re: Error loading stylesheet (xslt from xml)
I made a local copy of this page:
http://www.jonrisdon.co.uk/blog/database/alt_blog181216.html
The error went away after I changed the output method from "html/xml" to "html" in altblogStyle.xsl.
I'm not a programmer, so my answer might not be right.
http://www.jonrisdon.co.uk/blog/database/alt_blog181216.html
The error went away after I changed the output method from "html/xml" to "html" in altblogStyle.xsl.
I'm not a programmer, so my answer might not be right.
-
- Posts: 2
- Joined: February 28th, 2017, 10:32 am
Re: Error loading stylesheet (xslt from xml)
Hi Lnwdz. Thanks very much for taking the trouble to reply: I appreciate that. I might have saved myself some time if I'd checked your post earlier, but after checking out some sites on this issue, I came to the same conclusion myself, so it now seems to work in Firefox. Yay! The benefit for me is that I found the solution myself, but if I hadn't, your contribution would have solved it, so thanks again. I'm not a programmer either, by the way!
Jon
Jon