This code ::
xslProcessor = new XSLTProcessor();
xslProcessor.importStylesheet(xsl);
result = xslProcessor.transformToFragment(xml, document);
works fine in Firefox, but the result is not valid in Google Chrome. xsl and xml are downloaded from the network via XMLHTTPRequest and displayed as documents in the Chrome JS console. How can I get more info from Chrome about why the conversion doesn't work? (There are no errors in the debug window of Chrome Javascript.)
source
share