diff options
Diffstat (limited to 'files/fr/web/xpath/functions/name/index.md')
-rw-r--r-- | files/fr/web/xpath/functions/name/index.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/files/fr/web/xpath/functions/name/index.md b/files/fr/web/xpath/functions/name/index.md new file mode 100644 index 0000000000..13a6961723 --- /dev/null +++ b/files/fr/web/xpath/functions/name/index.md @@ -0,0 +1,32 @@ +--- +title: name +slug: Web/XPath/Functions/name +tags: + - Référence_XSLT +translation_of: Web/XPath/Functions/name +original_slug: Web/XPath/Fonctions/name +--- +<p> +{{ XsltRef() }} +</p><p><br> +La fonction <code>name</code> retourne une chaîne représentant le QName du premier nœud d'un ensemble de nœuds donné. +</p> +<h3 id="Syntaxe">Syntaxe </h3> +<pre class="eval">name( [<i>ensemble-de-nœuds</i>] ) +</pre> +<h3 id="Arguments"> Arguments </h3> +<dl><dt><code><i>ensemble-de-nœuds</i></code> (optionnel) +</dt><dd>Le QName du premier nœud de cet ensemble de nœuds sera retourné. Si cet argument est omis, le nœud de contexte courant sera utilisé. +</dd></dl> +<h3 id="Retour"> Retour </h3> +<p>Une chaîne représentant le QName d'un nœud. +</p> +<h3 id="Notes"> Notes </h3> +<ul><li> Le <a href="http://www.w3.org/TR/REC-xml-names/#NT-QName">QName</a> est le <i>nom qualifié</i> du nœud, incluant le préfixe de son espace de nommage et son nom local. +</li></ul> +<h3 id="D.C3.A9finition"> Définition </h3> +<p><a href="http://www.w3.org/TR/xpath#function-local-name">XPath 1.0, section 4.1</a>. +</p> +<h3 id="Support_Gecko"> Support Gecko </h3> +<p>Supportée. +</p>
\ No newline at end of file |