c:with-param

<c:with-param
  name = identifier
  value? = expression
  as? = type_name
  tunnel? = boolean >
  <!-- Content: sequence-constructor -->
</c:with-param>

Defines parameter arguments for a template or delegate.

Permitted parent elements
c:apply-templates
c:call-template
c:invoke-delegate
c:next-match
c:next-template

Attributes

as The type of the parameter.
name The name of the parameter.
tunnel Specifies if the parameter should be tunneled.
value The value of the parameter.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Error Conditions

It is a compilation error if the value attribute is present when the content of the element is non-empty.

It is a compilation error if two or more sibling c:with-param have the same name.

Additional conditions may apply, see the parent element’s documentation.

See Also