xsl:apply-templates
<xsl:apply-templates select="node-set-expression
" mode="QualifiedName
"> <! -- (xsl:sort | xsl:with-param)* -- > </xsl:apply-templates>
The xsl:apply-templates
instruction tells the processor to search for and
apply the highest-priority template rule in the stylesheet that
matches each node identified by the select
attribute.
select
,
optionalThis is an XPath expression that returns a node-set.
Each node in this set will be processed further. If the
select
attribute is
omitted, then all child nodes of the context node should be
processed.
mode
, optionalIf the mode
attribute is present, then only templates that have a
matching mode
attribute
will be applied. If the mode
attribute is absent, then
only templates without a mode
attribute will be
applied.
The xsl:apply-templates
element may have xsl:sort
child
elements to specify the order in which the selected nodes will be
processed. Without any xsl:sort
children, the default is to process nodes in document
order.
The xsl:apply-templates
element may have xsl:with-param
child elements to pass parameter values to the matched
templates.