Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

apply-templates

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.

Syntax

<xsl:apply-templates select=EXPRESSION mode=NAME>
	<xsl:with-param> [optional]
	<xsl:sort> [optional]
</xsl:apply-templates>

Required Attributes

None.

Optional Attributes

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.

Type

Instruction, appears within a template.

Defined

XSLT section 5.4.

Gecko support

Supported.

Document Tags and Contributors

 Contributors to this page: Sheppy, Fredchat, Mgjbot, Ptak82, Nickolay, CitizenK, Dria
 Last updated by: Sheppy,