aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xpath/functions/current/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/xpath/functions/current/index.html')
-rw-r--r--files/fr/web/xpath/functions/current/index.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/files/fr/web/xpath/functions/current/index.html b/files/fr/web/xpath/functions/current/index.html
new file mode 100644
index 0000000000..692ac83cc1
--- /dev/null
+++ b/files/fr/web/xpath/functions/current/index.html
@@ -0,0 +1,32 @@
+---
+title: current
+slug: Web/XPath/Fonctions/current
+tags:
+ - Référence_XSLT
+translation_of: Web/XPath/Functions/current
+---
+<p>
+{{ XsltRef() }}
+</p><p>La fonction <code>current</code> peut être utilisée pour obtenir le nœud courant dans une instruction XSLT.
+</p>
+<h3 id="Syntaxe" name="Syntaxe"> Syntaxe </h3>
+<pre class="eval">current()
+</pre>
+<h3 id="Retour" name="Retour"> Retour </h3>
+<p>Un ensemble de nœuds contenant uniquement le nœud courant.
+</p>
+<h3 id="Notes" name="Notes"> Notes </h3>
+<p>Cette fonction est un ajout à XPath spécifique à XSLT. Elle ne fait pas partie de la bibliothèque de fonctions XPath core.
+</p><p>Le nœud courant est toujours identique au nœud de contexte. Les deux exemples suivants sont sémantiquement équivalents :
+</p>
+<pre class="eval">&lt;xsl:value-of select="current()"/&gt;
+</pre>
+<pre class="eval">&lt;xsl:value-of select="."/&gt;
+</pre>
+<h3 id="D.C3.A9finition" name="D.C3.A9finition"> Définition </h3>
+<p><a href="http://www.w3.org/TR/xslt#function-current" class="external">XSLT 1.0, section 12.4</a>.
+</p>
+<h3 id="Support_Gecko" name="Support_Gecko"> Support Gecko </h3>
+<p>Supportée.
+</p><p><span class="comment">Interwiki Languages Links</span>
+</p>{{ languages( { "en": "en/XPath/Functions/current", "pl": "pl/XPath/Funkcje/current" } ) }}