diff options
Diffstat (limited to 'files/fr/web/xpath/functions/normalize-space/index.md')
-rw-r--r-- | files/fr/web/xpath/functions/normalize-space/index.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/files/fr/web/xpath/functions/normalize-space/index.md b/files/fr/web/xpath/functions/normalize-space/index.md new file mode 100644 index 0000000000..36023b5a12 --- /dev/null +++ b/files/fr/web/xpath/functions/normalize-space/index.md @@ -0,0 +1,36 @@ +--- +title: normalize-space +slug: Web/XPath/Functions/normalize-space +tags: + - Référence_XSLT +translation_of: Web/XPath/Functions/normalize-space +original_slug: Web/XPath/Fonctions/normalize-space +--- +<p>{{ XsltRef() }}</p> + +<p><br> + La fonction <code>normalize-space</code> supprime les espaces de début et de fin d'une chaîne et remplace les successions d’espaces par une seule puis retourne la chaîne résultante.</p> + +<h3 id="Syntaxe">Syntaxe</h3> + +<pre class="eval notranslate">normalize-space(<em>chaîne</em> ) +</pre> + +<h3 id="Arguments">Arguments</h3> + +<dl> + <dt><code><em>chaîne</em></code></dt> + <dd>La chaîne à normaliser.</dd> +</dl> + +<h3 id="Retour">Retour</h3> + +<p>La chaîne nomalisée.</p> + +<h3 id="D.C3.A9finition">Définition</h3> + +<p><a href="http://www.w3.org/TR/xpath#function-normalize-space">XPath 1.0, section 4.2</a>.</p> + +<h3 id="Support_Gecko">Support Gecko</h3> + +<p>Supportée.</p> |