Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

xsl:with-param

Syntax

Description

Specify a parameter to pass into a template. This element can be used when applying templates with the <xsl:apply-templates> instruction or when calling templates with the <xsl:call-template> instruction.

Attributes

name

Specifies the name of the parameter.

select

(Optional) XPath expression specifying the value of the parameter. The value of the parameter is determined either by the select attribute or by the contents of the <xsl:with-param> element. Do not specify both a select attribute and content. We recommend using the select attribute to set the parameter so as to prevent the parameter from being passed a result tree fragment as its value.