MarkLogic Server 11.0 Product Documentation
fn:codepoints-to-string

fn:codepoints-to-string(
   $arg as xs:integer*
) as xs:string

Summary

Creates an xs:string from a sequence of Unicode code points. Returns the zero-length string if $arg is the empty sequence. If any of the code points in $arg is not a legal XML character, an error is raised.

Parameters
arg A sequence of Unicode code points.

Example

fn:codepoints-to-string(
  (104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100))
=> hello world
Powered by MarkLogic Server | Terms of Use | Privacy Policy