Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

with

 

Syntax

Release Information

Statement introduced in version 1.0 of the SLAX language.

Description

Specify a parameter to pass into a template. You can use this statement when you apply templates with the apply-templates statement or invoke templates with the call statement.

Optionally, you can specify a value for the parameter by including an equal sign (=) and a value expression. If no value is specified, the current value of the parameter is passed to the template.

Attributes

nameName of the variable or parameter for which the value is being passed.
valueValue of the parameter being passed to the template.

SLAX Example

XSLT Equivalent

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.