reset

fun reset()(source)

The reset() method of the XSLTProcessor interface removes all parameters (xsl:param) and the XSLT stylesheet from the processor. The XSLTProcessor will then be in its original state when it was created.

MDN Reference