Loading TOC...

MarkLogic Server 11.0 Product Documentation
fn:normalize-unicode

fn:normalize-unicode(
   $arg as xs:string?,
   [$normalizationForm as xs:string]
) as xs:string?

Summary

Return the argument normalized according to the normalization criteria for a normalization form identified by the value of $normalizationForm. The effective value of the $normalizationForm is computed by removing leading and trailing blanks, if present, and converting to upper case.

Parameters
arg The string to normalize.
normalizationForm The form under which to normalize the specified string: NFC, NFD, NFKC, or NFKD.

Example

fn:normalize-unicode("Abcd")

=> Abcd

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.