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

nameSpecifies 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.

Usage Examples

See Example: Configuring Dual Routing Engines, Example: Preventing Import of the Full Routing Table, and Example: Automatically Configuring Logical Interfaces and IP Addresses.