diff options
author | julieng <julien.gattelier@gmail.com> | 2021-11-11 09:00:12 +0100 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-11-11 09:11:37 +0100 |
commit | ea0377b93b3d290053fda7115929930b8c8d4d25 (patch) | |
tree | b5915b686269d7b0dc4e7b690bb2c64f2e637697 /files/fr/web/xpath/functions/current | |
parent | 651ec72d5f391987b970601ab532a2d303b44916 (diff) | |
download | translated-content-ea0377b93b3d290053fda7115929930b8c8d4d25.tar.gz translated-content-ea0377b93b3d290053fda7115929930b8c8d4d25.tar.bz2 translated-content-ea0377b93b3d290053fda7115929930b8c8d4d25.zip |
convert content to md
Diffstat (limited to 'files/fr/web/xpath/functions/current')
-rw-r--r-- | files/fr/web/xpath/functions/current/index.md | 53 |
1 files changed, 30 insertions, 23 deletions
diff --git a/files/fr/web/xpath/functions/current/index.md b/files/fr/web/xpath/functions/current/index.md index 14543f6d1f..c90cae5ffb 100644 --- a/files/fr/web/xpath/functions/current/index.md +++ b/files/fr/web/xpath/functions/current/index.md @@ -6,27 +6,34 @@ tags: translation_of: Web/XPath/Functions/current original_slug: Web/XPath/Fonctions/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">Syntaxe </h3> -<pre class="eval">current() -</pre> -<h3 id="Retour"> Retour </h3> -<p>Un ensemble de nœuds contenant uniquement le nœud courant. -</p> -<h3 id="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"><xsl:value-of select="current()"/> -</pre> -<pre class="eval"><xsl:value-of select="."/> -</pre> -<h3 id="D.C3.A9finition"> Définition </h3> -<p><a href="http://www.w3.org/TR/xslt#function-current">XSLT 1.0, section 12.4</a>. -</p> -<h3 id="Support_Gecko"> Support Gecko </h3> -<p>Supportée. -</p>
\ No newline at end of file + +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](http://www.w3.org/TR/xslt#function-current). + +### Support Gecko + +Supportée. |