fn:lower-case function

The fn:lower-case function converts a string to lowercase.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-fn:lower-case(source-string)--------------------------------><

source-string
The string that is to be converted to lowercase.

source-string is of type xs:string, or is the empty sequence.

Returned value

If source-string is not the empty sequence, the returned value is an xs:string value that is source-string, with each character converted to its lowercase correspondent. Every character that does not have a lowercase correspondent is included in the returned value in its original form.

If source-string is the empty sequence, the returned value is a string of length zero.

Example

The following function converts the string "Wireless Router TB2561" to lowercase:

fn:lower-case("Wireless Router TB2561")

The returned value is "wireless router tb2561".