Return upper-cased value of a string.
fn:upper-case(xs:string $arg) => xs:string
This function returns the value of the string argument in upper case by
translating each character in its upper-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 an upper 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
.
$arg |
string value |
---|
This query returns the string value "ABC!D":
lower-case("aBc!D")
The following construct(s) refer to this construct: