The <xsl:apply-templates> element first selects a set of nodes using the
query specified in the select attribute. If this attribute is left unspecified,
all children of the current node are selected by default.To find an appropriate <xsl:template> to apply
each of the selected nodes, <xsl:apply-templates>
directs the XSLT processor
Templates are tested for applicability by comparing the node to the XPath
expression specified in the template's match attribute.
If more than one
template satisfies the match pattern, then one appearing with highest
priority is choosed. If templates have same priority, then last in
style sheet is chosen.
|