The <xsl:apply-templates>
element selects a set of nodes in the input tree and instructs the processor to apply the proper templates to them.
The <xsl:apply-templates>
element selects a set of nodes in the input tree and instructs the processor to apply the proper templates to them.
<xsl:apply-templates select=EXPRESSION mode=NAME> <xsl:with-param> [optional] <xsl:sort> [optional] </xsl:apply-templates>
None.
select
Uses an XPath expression that specifies the nodes to be processed. An asterisk(*
) selects the entire node-set. If this attribute is not set, all child nodes of the current node are selected.
mode
If there are multiple ways of processing defined for the same node, distinguishes among them.
Instruction, appears within a template.
XSLT section 5.4.
Supported.
© 2005–2022 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/apply-templates