Loading TOC...

MarkLogic 10 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

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