The stylesheet does not contain a document element
New DiscussionI am intermittently getting this error from the grid and would like to know if anyone knows what might be causing this. I'm using the latest release of the UltraWebGrid version 8.3.20083.1009.
ERROR
msxml3.dll: The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.
function igtbl_XSLTProcessor(xsltURL)
{
if(!xsltURL)
return null;
if(ig_csom.IsIE)
{
var xslt=ig_createActiveXFromProgIDs(["MSXML2.FreeThreadedDOMDocument","Microsoft.FreeThreadedXMLDOM"]);
xslt.async=false;
xslt.load(xsltURL);
var xslTemplate=new ActiveXObject("MSXML2.XSLTemplate");
xslTemplate.stylesheet=xslt; // ERROR Occurs Here.
this.Processor=xslTemplate.createProcessor();
}
else
{
var xmlResp=new DOMParser();
var xmlHttp=new XMLHttpRequest();
xmlHttp.open("GET",xsltURL,false);
xmlHttp.send(null);
this.Processor=new XSLTProcessor();
this.Processor.importStylesheet(xmlResp.parseFromString(xmlHttp.responseText,"text/xml"));
}
}