51Degrees Pipeline for Node.js

ReplacedString Class Reference

Detailed Description

Prepares a value for the XML.

A value that is not a string is written as its text, and undefined and null as nothing. A value over the maximum number of code points is cut, special XML characters are escaped, and a character XML 1.0 does not allow is written as \x and four lower case hexadecimal digits of its code. A surrogate pair is one valid character and is kept whole.

Public Member Functions

 constructor (text)