Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

template

Syntax

Description

Declare a named template. You can include a comma-separated list of parameter declarations, with the parameter name and an optional equal sign (=) and value expression. You can declare additional parameters inside the code block using the param statement. You can invoke the template using the call statement.

SLAX Example

XSLT Equivalent

Release Information

Statement introduced in version 1.0 of the SLAX language.