From 41a6588583ba556303af7f9a7c2c36150ff60081 Mon Sep 17 00:00:00 2001 From: julieng Date: Thu, 11 Nov 2021 09:03:59 +0100 Subject: convert content to md --- files/fr/web/xslt/element/when/index.md | 51 +++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 22 deletions(-) (limited to 'files/fr/web/xslt/element/when/index.md') diff --git a/files/fr/web/xslt/element/when/index.md b/files/fr/web/xslt/element/when/index.md index 41b54e47e4..e6f51bbc3a 100644 --- a/files/fr/web/xslt/element/when/index.md +++ b/files/fr/web/xslt/element/when/index.md @@ -6,26 +6,33 @@ tags: translation_of: Web/XSLT/Element/when original_slug: Web/XSLT/when --- -

{{ XsltRef() }} -

L'élément <xsl:when> apparaît toujours dans un élément <xsl:choose>, et se comporte comme une structure conditionelle 'case'. -

-

Syntaxe

-
<xsl:when test=EXPRESSION>
-	MODÈLE
-</xsl:when>

Attribut obligatoire

-
test -
Définit une expression booléenne à évaluer. Si elle est vraie, le contenu de l'élément est exécuté ; sinon, il est ignoré. -
-

Attributs obligatoires

-

Aucun. -

-

Type

-

Sous-instruction, apparaît toujours dans un élément <xsl:choose>. -

-

Définition

-

XSLT 1.0, section 9.2. -

-

Support Gecko

-

Supporté. -

\ No newline at end of file + +L'élément `` apparaît toujours dans un élément ``, et se comporte comme une structure conditionelle 'case'. + +### Syntaxe + + + MODÈLE + + +### Attribut obligatoire + +- `test` + - : Définit une expression booléenne à évaluer. Si elle est vraie, le contenu de l'élément est exécuté ; sinon, il est ignoré. + +### Attributs obligatoires + +Aucun. + +### Type + +Sous-instruction, apparaît toujours dans un élément ``. + +### Définition + +[XSLT 1.0, section 9.2](http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:choose). + +### Support Gecko + +Supporté. -- cgit v1.2.3-54-g00ecf