fn:lower-case

Return lower-cased value of a string.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

fn:lower-case(xs:string $arg) => xs:string

Description

This function returns the value of the string argument in lower case by translating each character in its lower case equivalent on its own. If the value of $arg is the empty sequence, the string of length zero is returned.

Note that not every character has a lower case equivalent. Also, the case mapping functions are not inverse to each other. This means that neither upper-case(lower-case($arg)) nor lower-case(upper-case($arg)) are guaranteed to yield $arg.

Argument

$arg

string value

Example

  • This query returns the string value "abc!d":

    lower-case("ABc!D")