Debugging xsltprocessor in Chrome

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.)

+3
source share
1 answer

Turns off Chrome does not support <xsl:import>

+1
source

Source: https://habr.com/ru/post/1720963/


All Articles