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/xpath/fonctions/current/index.html | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 files/fr/web/xpath/fonctions/current/index.html (limited to 'files/fr/web/xpath/fonctions/current/index.html') diff --git a/files/fr/web/xpath/fonctions/current/index.html b/files/fr/web/xpath/fonctions/current/index.html new file mode 100644 index 0000000000..692ac83cc1 --- /dev/null +++ b/files/fr/web/xpath/fonctions/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 +--- +

+{{ XsltRef() }} +

La fonction current peut être utilisée pour obtenir le nœud courant dans une instruction XSLT. +

+

Syntaxe

+
current()
+
+

Retour

+

Un ensemble de nœuds contenant uniquement le nœud courant. +

+

Notes

+

Cette fonction est un ajout à XPath spécifique à XSLT. Elle ne fait pas partie de la bibliothèque de fonctions XPath core. +

Le nœud courant est toujours identique au nœud de contexte. Les deux exemples suivants sont sémantiquement équivalents : +

+
<xsl:value-of select="current()"/>
+
+
<xsl:value-of select="."/>
+
+

Définition

+

XSLT 1.0, section 12.4. +

+

Support Gecko

+

Supportée. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Functions/current", "pl": "pl/XPath/Funkcje/current" } ) }} -- cgit v1.2.3-54-g00ecf