Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

fn:normalize-space

Return its argument with normalized whitespace.


Syntax

fn:normalize-space(string? $string) => string?

Top of page

Description

This function returns the argument with normalized whitespace. Normalizing whitespace includes stripping leading and trailing whitespace and replace more than one whitespace character with a single whitespace character.

Top of page

Argument

$string

string value

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page