{ Frameless }

XSLT2Processor.removeParameter()

I don't need to explain what proc.removeParameter($name) does, but it perhaps is nice to know the difference is with using setParameter("msg", null).

removeParameter() restores any default value of an xsl:param element, whereas setting the parameter to null simple sets the value to nothing.

This will render "Hello world":

This will render nothing:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
    xmlns:example="http://example.com/">

  <xsl:param name="example:message"/>
  ...