normalize-space
Returns the normalized input string. "Normalization" means that the leading and trailing spaces are removed, and then each sequence of multiple consecutive whitespace characters are replaced by a single whitespace character. The Unicode character for "space" is (U+0020).

Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameters
Name | Description |
---|---|
string | The input string to normalize. |
Example
If the input string is The quick brown fox, the function returns The quick brown fox.