 | XlsxWriterEscapeXmlChars Method |
Method to escape XML characters between two XML tags
Namespace: NanoXLSX.LowLevelAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntaxpublic static string EscapeXmlChars(
string input
)
Parameters
- input String
- Input string to process
Return Value
StringEscaped string
RemarksNote: 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