home contribute faq download

FunctX XSLT Functions

fn:codepoints-to-string

Creates a string from a sequence of Unicode code points

Google
Webxsltfunctions.com

Description

The fn:codepoints-to-string function creates a string from a sequence of Unicode code points. The $arg argument is a sequence of integers representing Unicode code point values.

This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book.

Arguments and Return Type

NameTypeDescription
$arg xs:integer* a sequence of Unicode code points
return value xs:string

Examples

XPath ExampleResults
codepoints-to-string((97, 32, 98, 32, 99))
a b c
codepoints-to-string(97)
a
codepoints-to-string(())
zero-length string

See Also

fn:string-to-codepointsCreates a sequence of Unicode code points from a string

History

Published OnLast UpdatedContributor(s)
2006-06-272007-02-26W3C, XQuery 1.0 and XPath 2.0 Functions and Operators, http://www.w3.org/TR/xpath-functions/
Datypic XSLT Services

Recommended Reading:

XQuery