How To Fix Xsltprocessor Is Undefined Error
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 23 Star 136 Fork 27 Annotum/Annotum Code Issues 61 Pull requests
Internet Explorer 11 Xsltprocessor
0 Projects 0 Wiki Pulse Graphs New issue 'XSLTProcessor' is undefined ie11 xslt in IE11 #213 Open profnimrod opened this Issue Sep 22, 2014 · 4 comments Projects None yet transformnode ie11 Labels None yet Milestone No milestone Assignees No one assigned 2 participants profnimrod commented Sep 22, 2014 'XSLTProcessor' is undefined error is throw in IE11 when
Ie11 Compatibility Mode
trying to edit an article. Some insights to the issue might be available at: http://stackoverflow.com/questions/18891860/xslt-processing-on-ie11. The source of the error is in editor_plugin.js profnimrod commented Dec 5, 2014 When might there be some progress made on this? More than half of our potential authors are using IE11, and cannot do the simplest things with the editor because of this problem. carlthewebmaster commented Dec 5, 2014 Sorry for the lack of a response. I can look into a fix, but for now the workaround is either to modify the code yourself as indicated in the StackOverflow link (and feel free to submit a pull request if you do!), or have the authors use Chrome or Firefox. profnimrod commented Dec 6, 2014 No problem Carl. I did try but for some reason the fix didn't work for me. If I figure the specific code change out I will indeed submit a pull request. profnimrod commented Dec 13, 2014 I had a try today but unfortunately failed... it isn't a case of just simply setting n =new ActiveXObject("Msxml2.XSLTemplate") for IE. Interestingly, on the same Stack Overflow page above (http://stackoverflow.com/questions/18891860/xslt-processing-on-ie11) 'Spudley' notes that "the Chrome devs recently proposed removing their built-in xslt processor on the grounds that no-one uses it...you might want to re-think relying on it being built into the browser". Have you considered using something like Saxon
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up XSLT processing on IE11? up https://github.com/Annotum/Annotum/issues/213 vote 5 down vote favorite 1 What has happened to the XSLT processing in IE11? On IE8/9/10, you can use: if (window.ActiveXObject) { var xslt = new ActiveXObject("Msxml2.XSLTemplate"); .... } On Chrome/Firefox/Safari, you can use: else { var xsltProcessor = new XSLTProcessor(); } But on IE11, neither of these are supported. Does anyone know how this can be accomplished? xslt internet-explorer-11 share|improve this question edited Sep http://stackoverflow.com/questions/18891860/xslt-processing-on-ie11 19 '13 at 13:43 asked Sep 19 '13 at 10:08 user2794912 38115 Have you tried specifying a version number? var xslt = new ActiveXObject("Msxml2.XSLTemplate.6.0");. –Tim C Sep 19 '13 at 12:41 Ah sorry, just amended question -- turns out it was the "window.ActiveXObject" check that fails on IE11 (but if you attempt to create it anyway, it works) –user2794912 Sep 19 '13 at 13:44 2 its worth noting that the Chrome devs recently proposed removing their built-in xslt processor on the grounds that no-one uses it. See groups.google.com/a/chromium.org/forum/#!topic/blink-dev/…. In light of this, you might want to re-think relying on it being built into the browser. –Spudley Sep 19 '13 at 14:09 add a comment| 5 Answers 5 active oldest votes up vote 9 down vote accepted Try if (window.ActiveXObject || "ActiveXObject" in window) This worked for me working with IE11 and allowed me to instantiate ActiveX objects since the standard old check was being bypassed. share|improve this answer answered Oct 10 '13 at 18:56 Nick Webb 1061 This will detect all IE versions 5-11. If you want just IE 11 specifically, try this: !(window.ActiveXObject) && "ActiveXObject" in window –m
Link About Contact Report About Us Contact Us Ask Question How to add code to your Question http://www.aspforums.net/Threads/154844/XSLTProcessor-is-undefined-error-in-IE11-browser/ or Reply. How to add image or screenshot to the http://jaydata.org/forum/viewtopic.php?f=3&t=313 Editor Home HTML, CSS and JavaScript JavaScript XSLTProcessor is undefined error in IE11 browser XSLTProcessor is undefined error in IE11 browser Answered Active Solved Ask Question Last Replyon Feb 16, 2014 12:33 AM By Mudassar 6811Views 1Replies 1Answers LakhbirCha Questioner Joined: how to Jan 21, 2014 02:06 AM Location: chandigarh, India Asked: 1 Answered: 0 Answer Ratio: 0 out of 10 Question Reply Posted on Feb 15, 2014 12:54 AM LakhbirCha Questioner I face a problem with XML in IE11 Browser. When I generate dynamically XML it show me following error:Reference error:'XSLTProcessor is how to fix undefind' This is my code: if (window.ActiveXObject || window.ActiveXObject !== undefined) return xmlData.transformNode(xsltData); else if(document.implementation && document.implementation.createDocument) { var xsltProcessor = new XSLTProcessor(); xsltProcessor.importStylesheet(xsltData); return xsltProcessor.transformToFragment(xmlData, document); } } catch(e) { alert(e); } return null; Please try to solve my problem. Thanks & Regards Lakhbir chandel lakhbirchandel Oldest Newest Answered Liked Mudassar Master Joined: Nov 11, 2011 05:52 PM Location: mumbai, India Asked: 0 Answered: 5493 Attempted: 6422 Answer Ratio: 0 out of 10 Moderator Reply Answer Selected Reply Posted on Feb 16, 2014 12:33 AM Mudassar Master Refer http://stackoverflow.com/questions/18891860/xslt-processing-on-ie11 ASP.Net This question does not have replies marked as Answer. I agree, here is the link: http://e-iceblue.com/free-api Report • If this valid is a valid duplicate/abuse/broken link reply you will earn 5 bonus points. • But if this reply is not a valid duplicate/abuse/broken link reply you loose 10 points. Abuse Reply Duplicate Broken Link Report Cancel Mark Unsatisfactory
Software © phpBB Group