--- 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 --- {{ XsltRef() }} La fonction `normalize-space` 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. ### Syntaxe normalize-space(chaîne ) ### Arguments - `chaîne` - : La chaîne à normaliser. ### Retour La chaîne nomalisée. ### Définition [XPath 1.0, section 4.2](http://www.w3.org/TR/xpath#function-normalize-space). ### Support Gecko Supportée.