LowLevel.EscapeXmlChars Method

NanoXLSX

NanoXLSX

LowLevelEscapeXmlChars Method

Method to escape XML characters between two XML tags

Namespace:  NanoXLSX.LowLevel
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
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. NanoXLSX 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