xsl:param (global)

  • Global parameters are defined on the stylesheet level.

    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:para name="param1" select="'default-string'"/>
    </xsl:stylesheet>
    					
  • Global parameters can have a default value, specified by the select statement.

  • Global Parameters can be used to pass values from external applications to the stylesheet.