Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

call

 

Syntax

Release Information

Statement introduced in version 1.0 of the SLAX language.

Description

Call a named template. You can pass parameters into the template by including a comma-separated list of parameters, with the parameter name and an optional equal sign (=) and value expression. If a value is not specified, the current value of the parameter is passed to the template.

You can declare additional parameters inside the code block using the with statement.

Attributes

template-nameSpecifies the name of the template to call.

SLAX Example

XSLT Equivalent

Usage Examples

See Example: Requiring and Restricting Configuration Statements, Example: Imposing a Minimum MTU Setting, and Example: Automatically Configuring Logical Interfaces and IP Addresses.