c:apply-templates

<c:apply-templates
  value = expression
  mode? = "#current" | "#default" | eqname
  with-params? = expression(Object | IDictionary<String, Object>)
  tunnel-params? = expression(Object | IDictionary<String, Object>)
  separator? = { string } >
  <!-- Content: c:with-param* -->
</c:apply-templates>
Category
instruction
Permitted parent elements
Any XCST element whose content model is sequence-constructor
Any literal result element

Attributes

mode An eqname or "#current" or "#default". Unprefixed qualified names are in the null namespace.
separator A string to intersperse between the results of each processed item.
tunnel-params An object with tunnel parameters.
value The value to process.
with-params An object with parameters.

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

Note: Differences with xsl:apply-templates

When the mode attribute is not used, c:apply-templates uses the current mode, while xsl:apply-templates uses the default mode.

Error Conditions

It is a compilation error if the mode attribute refers to a mode that does not exist.