rem: var xslDocument = gParser.parseFromString(xslContent, 'text/xml'); 
add: var xslDocument = gParser.parseFromString(xslContent, 'application/xml'); 
context: function transformXML( xmlDocument, xslFilename ){   var xslProc = new XSLTProcessor();   var gParser = new DOMParser;   // .load isn't synchrone   // var xslDoc = document.implementation.createDocument("", "", null);   // xslDoc.load(path, "text/xml");   // if only passsed a filename, assume it is a file in the default directory   if( xslFilename.indexOf( ":" ) == -1 )     xslFilename = convertersDirectory + xslFilename;   var xslContent = loadFile( xslFilename );   var xslDocument = gParser.parseFromString(xslContent, 'text/xml');   var result = document.implementation.createDocument("", "", null);   xslProc.transformDocument(xmlDocument, xslDocument, result, null);   return result;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e5b42293b559f2e5a3a2880ae874c23459402805/importExport.js/clean/calendar/resources/content/importExport.js