aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xslt/element/call-template/index.html
blob: fdf28075961f45a1ab845bfe0af92a4711e200c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: call-template
slug: Web/XSLT/Element/call-template
tags:
  - Référence_XSLT
translation_of: Web/XSLT/Element/call-template
original_slug: Web/XSLT/call-template
---
<p>
{{ XsltRef() }}
</p><p>L'élément <code>&lt;xsl:call-template&gt;</code> invoque un modèle nommé.
</p>
<h3 id="Syntaxe" name="Syntaxe"> Syntaxe </h3>
<pre>&lt;xsl:call-template name=NOM&gt;
	&lt;xsl:with-param&gt; [optionnel]
&lt;/xsl:call-template&gt; </pre>
<h3 id="Attribut_obligatoire" name="Attribut_obligatoire"> Attribut obligatoire </h3>
<dl><dt><code>name</code>
</dt><dd>Définit le nom du modèle à invoquer.
</dd></dl>
<h3 id="Attributs_optionnels" name="Attributs_optionnels"> Attributs optionnels </h3>
<p>Aucun.
</p>
<h3 id="Type" name="Type"> Type </h3>
<p>Instruction, apparaît dans un modèle.
</p>
<h3 id="D.C3.A9finition" name="D.C3.A9finition"> Définition </h3>
<p><a href="http://www.w3.org/TR/xslt#named-templates" class="external">XSLT 1.0, section 6</a>.
</p>
<h3 id="Support_Gecko" name="Support_Gecko"> Support Gecko </h3>
<p>Supporté.
</p><p><span class="comment">Interwiki Languages Links</span>
</p>{{ languages( { "en": "en/XSLT/call-template", "es": "es/XSLT/call-template", "pl": "pl/XSLT/call-template" } ) }}