{ Frameless }

XSLT2Processor.setParameter()

The setParameter($namespace, $name, $value) function specifies the named parameters to be used in the XSLT transform.

var xslt = new XSLT2Processor();

Not your everyday parameter:

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

  <xsl:param name="example:message"/>
  ...
var xslt = new XSLT2Processor();
xslt.setParameter("{http://example.com/}message", "Hello world!")