XSLTProcessor: reset() method

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.

Syntax

js
reset()

Parameters

None.

Return value

None (undefined).

Examples

Specifications

Specification
DOM Standard
# dom-xsltprocessor-reset

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
reset

See also