setParameter

fun setParameter(namespaceURI: String?, localName: String, value: JsAny?)(source)

The setParameter() method of the XSLTProcessor interface sets the value of a parameter (<xsl:param>) in the stylesheet imported in the processor.

MDN Reference