string-length


string-length

The string-length() function returns the number of characters in a string value.

For example, the expression «string-length('Beethoven') » returns 9 .

Argument

Data Type

Meaning

value (optional)

xs:string?

The string whose length is required

If the argument is omitted, the string value of the context item is used. If the argument is an empty sequence, the result of the function is (zero)

Result

xs:string

A number: the number of characters in the value of the argument




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