PicoXLSX Library Documentation
![]() | 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)

C#
public static string EscapeXmlChars( string input )
Parameters
- input
- Type: SystemString
Input string to process
Return Value
Type: StringEscaped string

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)
