Supported Platforms
Related Documentation
- ACX, EX, M, MX, SRX, T Series
- XSLT Parameters Overview
- ACX, EX, M, MX, PTX, SRX, T Series
- XSLT Templates Overview
- xsl:apply-templates
- xsl:call-template
- xsl:template
- xsl:variable
- xsl:with-param
xsl:param
Syntax
<xsl:param name="qualified-name" select="expression">
...
</xsl:param>
Description
Declare a parameter for a template or for the style sheet as a whole. A template parameter must be declared within the template element. A global parameter, the scope of which is the entire style sheet, must be declared at the top level of the style sheet.
Attributes
name | — | Defines the name of the parameter. |
select | — | (Optional) XPath expression defining the default value for the parameter, which is used if the person or client application that executes the script does not explicitly provide a value. The select attribute or the content of the <xsl:param> element can define the default value. Do not specify both a select attribute and content; we recommend using the select attribute so as not to create a result tree fragment. |
Usage Examples
- Example: Imposing a Minimum MTU Setting
- Example: Limiting the Number of ATM Virtual Circuits
- Example: Limiting the Number of E1 Interfaces
- Example: Preventing Import of the Full Routing Table
- Example: Requiring and Restricting Configuration Statements
Related Documentation
- ACX, EX, M, MX, SRX, T Series
- XSLT Parameters Overview
- ACX, EX, M, MX, PTX, SRX, T Series
- XSLT Templates Overview
- xsl:apply-templates
- xsl:call-template
- xsl:template
- xsl:variable
- xsl:with-param
Published: 2013-07-26
Supported Platforms
Related Documentation
- ACX, EX, M, MX, SRX, T Series
- XSLT Parameters Overview
- ACX, EX, M, MX, PTX, SRX, T Series
- XSLT Templates Overview
- xsl:apply-templates
- xsl:call-template
- xsl:template
- xsl:variable
- xsl:with-param