XSLTProcessor is undefined error in IE11 browser

Last Reply on Feb 16, 2014 12:33 AM By Mudassar

Posted on Feb 15, 2014 12:54 AM

I face a problem with XML in IE11 Browser. When I generate dynamically XML it show me following error:

Reference error:'XSLTProcessor is 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