Visit Mozilla.org

XSLT:with-param

Un article de MDC.

Référence XSLT/XPath : Éléments XSLT, Fonctions EXSLT, Fonctions XPath, Axes XPath

Sommaire

L'élément <xsl:with-param> définit la valeur d'un paramètre à passer à un modèle.

[modifier] Syntaxe

<xsl:with-param name=NOM select=EXPRESSION>
	MODÈLE
</xsl:with-param>

[modifier] Attribut obligatoire

name
Définit un nom pour ce paramètre.

[modifier] Attribut optionnel

select
Définit la valeur du paramètre à l'aide d'une expression XPath. Si l'élément contient un modèle, l'attribut est ignoré.

[modifier] Type

Sous-instruction, apparaît toujours dans un élément <xsl:apply-templates> ou un élément <xsl:call-template>.

[modifier] Définition

XSLT 1.0, section 11.6.

[modifier] Support Gecko

Supporté.