Hello, The following code works in FireFox: https://zd1.zednax.com:9443/saxon_test/test.html and here are the XSL files: https://zd1.zednax.com:9443/saxon_test/ The problem seems to be this line: resultDocument = xsltProcessor.transformToFragment(xml,document); in Safari 5 and Chrome. We have also used saxon8 which correctly transforms on the command line. If you require any more information please let us know!
*** This bug has been marked as a duplicate of bug 10313 ***
I'll admit I don't fully understand the problem in 10313. This is a very old bug if related. Is there any work around?
The only workaround is to load the document to be transformed in a frame.
(or to not use xsl:import and document(), of course)