In Mozilla it seems an object is supplied to do just that: check, https://developer.mozilla.org/en/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations . (Below are some code excerpts from the MDC documentation).
You will need to specify a XSLT stylesheet and then create a XSLTProcessor
object:
var processor = new XSLTProcessor();
Doing that you may implement a new document and transform it according to the XSLT style specified:
var testTransform = document.implementation.createDocument("", "test", null);
testTransform.addEventListener("load", onload, false);
testTransform.load("test-transform.xml");
function onload() {
processor.importStylesheet(testTransform);
}
HTH,
FK