xsl:apply-templates

Syntax

<xsl:apply-templates select="node-set-expression">
    <xsl:with-param name="qualified-name" select="expression">
        ...
    </xsl:with-param>
</xsl:apply-templates>

Description

Apply one or more templates, according to the value of the select attribute. The nodes to which the processor applies templates are selected by the path specified by the select attribute. The <xsl:template> instruction dictates which elements are transformed according to which template. The templates that are applied are passed the parameters specified by the <xsl:with-param> elements within the <xsl:apply-templates> instruction.

select—Selects the nodes to which the processor applies templates. By default, the processor applies templates to the child nodes of the current node.

See Example: Adding a Final then accept Term to a Firewall and Example: Preventing Import of the Full Routing Table.

Related Topics