Moose Morals
Moose Morals

Reputation: 1648

xsltprocessor debugging in Chrome

This code::

xslProcessor = new XSLTProcessor();
xslProcessor.importStylesheet(xsl);
result =  xslProcessor.transformToFragment(xml, document);

works fine in Firefox, but result is null in Google Chrome. xsl and xml are both loaded from the network via XMLHTTPRequest, and show as Documents in the Chrome JS console. How can I get more information from Chrome about why the transform is failing? (There are no errors reported in the Chrome Javascript debugging window).

Upvotes: 3

Views: 2690

Answers (1)

Moose Morals
Moose Morals

Reputation: 1648

Turns out Chrome doesn't support <xsl:import>

Upvotes: 1

Related Questions