aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xslt/element/choose/index.md
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-11-11 09:03:53 +0100
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-11-11 09:11:44 +0100
commited99ca385fcffbd4027dac3152547bde690d737b (patch)
treeebefa0dc484a8ee951449aa4547cb92286b84413 /files/fr/web/xslt/element/choose/index.md
parentea0377b93b3d290053fda7115929930b8c8d4d25 (diff)
downloadtranslated-content-ed99ca385fcffbd4027dac3152547bde690d737b.tar.gz
translated-content-ed99ca385fcffbd4027dac3152547bde690d737b.tar.bz2
translated-content-ed99ca385fcffbd4027dac3152547bde690d737b.zip
move *.html to *.md
Diffstat (limited to 'files/fr/web/xslt/element/choose/index.md')
-rw-r--r--files/fr/web/xslt/element/choose/index.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/files/fr/web/xslt/element/choose/index.md b/files/fr/web/xslt/element/choose/index.md
new file mode 100644
index 0000000000..f3c3ddd160
--- /dev/null
+++ b/files/fr/web/xslt/element/choose/index.md
@@ -0,0 +1,32 @@
+---
+title: choose
+slug: Web/XSLT/Element/choose
+tags:
+ - Référence_XSLT
+translation_of: Web/XSLT/Element/choose
+original_slug: Web/XSLT/choose
+---
+<p>
+{{ XsltRef() }}
+</p><p><br>
+L'élément <code>&lt;xsl:choose&gt;</code> définit un choix parmi un certain nombre d'alternatives. Il se comporte comme l'instruction switch d'un langage procédural.
+</p>
+<h3 id="Syntaxe"> Syntaxe </h3>
+<pre>&lt;xsl:choose&gt;
+ &lt;xsl:when&gt;
+ &lt;xsl:otherwise&gt; [optionnel]
+&lt;/&lt;xsl:choose&gt;</pre> <h3 id="Attributs_obligatoires"> Attributs obligatoires </h3>
+<p>Aucun.
+</p>
+<h3 id="Attributs_optionnels"> Attributs optionnels </h3>
+<p>Aucun.
+</p>
+<h3 id="Type"> Type </h3>
+<p>Instruction, apparaît dans un modèle. Il contient un ou plusieurs éléments <code>&lt;xsl:when&gt;</code>, et éventuellement un élément final <code>&lt;xsl:otherwise&gt;</code>.
+</p>
+<h3 id="D.C3.A9finition"> Définition </h3>
+<p><a href="http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:choose">XSLT 1.0, section 9.2</a>.
+</p>
+<h3 id="Support_Gecko"> Support Gecko </h3>
+<p>Supporté.
+</p> \ No newline at end of file