 | XlsxWriterEscapeXmlChars Method |
Method to escape XML characters between two XML tags
Namespace: NanoXLSX.LowLevelAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
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