normalize-space


The normalize-space() function removes leading and trailing whitespace from a string, and replaces internal sequences of whitespace with a single space character.

For example, the expression «normalize-space('x	 y ') » returns the string «x y » .

Argument

Data Type

Meaning

value (optional)

xs:string?

The input string. If the argument is omitted, it defaults to the string value of the context item

Result

xs:string

A string obtained by removing leading and trailing whitespace from the input string, and replacing internal sequences of whitespace by a single space character




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net