rem: doc .appendChild(root); root.appendChild(node.cloneNode(true)); root.appendChild(createEnv(doc)); root.appendChild(strings.cloneNode(true));  var doc = xslProc.transformToDocument(doc);  return doc.firstChild; 
add: if (window.ActiveXObject) { try { var text   = doc.transformNode(xslDoc); var xmlDoc = new ActiveXObject('Microsoft.XMLDOM');  xmlDoc.async = 'false';  if (xmlDoc.loadXML(text) == false) throw 'Parse error for:\n\n'+text;   return xml.convert(xmlDoc); } catch(e) { throw 'Cannot transform with stylesheet.\nFile : '+ xslSheet; } } else return xslProc.transformToDocument(doc); 
context: this.transform = function(node){	var strings = (!loader) 						? Sarissa.getDomDocument().createElement('strings')						: loader.getNode();	var doc  = Sarissa.getDomDocument();	var root = doc.createElement('root');		doc .appendChild(root);	root.appendChild(node.cloneNode(true));	root.appendChild(createEnv(doc));	root.appendChild(strings.cloneNode(true));		var doc = xslProc.transformToDocument(doc);		return doc.firstChild;}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/774711041c241914e6fab3c51d9c469abad78755/xsl-transformer.js/buggy/web/geonetwork/scripts/core/kernel/xsl-transformer.js