rem: includeXsltParams: function() { 
add: function includeXsltParams() { 
context: 	includeXsltParams: function() {	   /* the following is to set parameters in the xsl-stylesheet according to url querystrings          there seems to be no other way to do that ... */       /* mozilla does not work with namespaces on xpath as of RC2... maybe this will change...               see http://bugzilla.mozilla.org/show_bug.cgi?id=113611 for details (it will be in 1.1)       until then we need this more complicated xpath string..       var nsResolver = BX_xsl.createNSResolver(BX_xsl);       */	   if ((this.xsltParams) ) {	   		var node;			var paramName;	   		for (paramName in this.xsltParams ) {	    		var result = this.doc.evaluate("/*/*[name() = 'xsl:param' and @name='"+ paramName+"']", this.doc, null, 0, null);					    		if (node = result.iterateNext()) {					//there is already such a xsl:param, replace it					node.childNodes[0].nodeValue = this.xsltParams[paramName];				} else {					//there was no such xsl:param, create a new node		    		var result = this.doc.evaluate("/*[name() = 'xsl:stylesheet']", this.doc, null, 0, null);																				node = result.iterateNext();					var newNode = this.doc.createElementNS("http://www.w3.org/1999/XSL/Transform","param");					newNode.setAttribute("name",paramName);					newNode.appendChild(this.doc.createTextNode(this.xsltParams[paramName]));					node.insertBefore(newNode,node.firstChild);				}			}		}	}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/ffb59be12713348724e09814524fa70b5200d06e/xmldoc.js/buggy/src/webapp/lenya/resources/misc/bitflux/bxe/js/xmldoc.js