Altova MapForce 2024 Professional Edition

Creates a string from a sequence of Unicode code points. This function is the opposite of the string-to-codepoints function.

mf-func-xpath2-codepoints-to-string

 

Languages

XQuery, XSLT 2.0, XSLT 3.0.

 

Parameters

Name

Type

Description

codepoints

ZeroOrMore xs:integer

This input must be connected to a sequence of items of integer type, where each integer specifies a Unicode code point.

 

Example

The following XML contains multiple item elements that store each Unicode code point values.

 

<items>
  <item>77</item>
  <item>97</item>
  <item>112</item>
  <item>70</item>
  <item>111</item>
  <item>114</item>
  <item>99</item>
  <item>101</item>
</items>

 

The mapping illustrated below supplies the sequence of items as argument to the codepoint-to-string function.

mf-func-xpath2-codepoints-to-string-example

XSLT 2.0 mapping

The mapping output is MapForce.

© 2017-2023 Altova GmbH