From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/xslt/choose/index.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 files/fr/web/xslt/choose/index.html (limited to 'files/fr/web/xslt/choose/index.html') diff --git a/files/fr/web/xslt/choose/index.html b/files/fr/web/xslt/choose/index.html new file mode 100644 index 0000000000..4fde3f3695 --- /dev/null +++ b/files/fr/web/xslt/choose/index.html @@ -0,0 +1,32 @@ +--- +title: choose +slug: Web/XSLT/choose +tags: + - Référence_XSLT +translation_of: Web/XSLT/Element/choose +--- +

+{{ XsltRef() }} +


+L'élément <xsl:choose> définit un choix parmi un certain nombre d'alternatives. Il se comporte comme l'instruction switch d'un langage procédural. +

+

Syntaxe

+
<xsl:choose>
+	<xsl:when>
+	<xsl:otherwise> [optionnel]
+</<xsl:choose>

Attributs obligatoires

+

Aucun. +

+

Attributs optionnels

+

Aucun. +

+

Type

+

Instruction, apparaît dans un modèle. Il contient un ou plusieurs éléments <xsl:when>, et éventuellement un élément final <xsl:otherwise>. +

+

Définition

+

XSLT 1.0, section 9.2. +

+

Support Gecko

+

Supporté. +

Interwiki Languages Links +

{{ languages( { "en": "en/XSLT/choose", "es": "es/XSLT/choose", "pl": "pl/XSLT/choose" } ) }} -- cgit v1.2.3-54-g00ecf