Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- XSLT Templates Overview
- xsl:apply-templates
- xsl:call-template
- xsl:param
- xsl:template
- xsl:variable
xsl:with-param
Syntax
<xsl:with-param name="qualified-name" select="expression">
...
</xsl:with-param>
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. |
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.
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- XSLT Templates Overview
- xsl:apply-templates
- xsl:call-template
- xsl:param
- xsl:template
- xsl:variable
Published: 2013-03-05
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- XSLT Templates Overview
- xsl:apply-templates
- xsl:call-template
- xsl:param
- xsl:template
- xsl:variable