LowLevel.EscapeXmlChars Method

PicoXLSX

PicoXLSX

LowLevelEscapeXmlChars Method

Method to escape XML characters between two XML tags

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public static string EscapeXmlChars(
	string input
)

Parameters

input
Type: SystemString
Input string to process

Return Value

Type: String
Escaped string
Remarks
Note: The XML specs allow characters up to the character value of 0x10FFFF. However, the C# char range is only up to 0xFFFF. PicoXLSX will neglect all values above this level in the sanitizing check. Illegal characters like 0x1 will be replaced with a white space (0x20)
See Also