Replace invalid XML characters in text string
Namespace: log4net.UtilAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- textData
- Type: System String
the XML text input string
- mask
- Type: System String
the string to use in place of invalid characters
Return Value
Type: StringA string that does not contain invalid XML characters.
Remarks
Certain Unicode code points are not allowed in the XML InfoSet, for details see: http://www.w3.org/TR/REC-xml/#charsets.
This method replaces any illegal characters in the input string with the mask string specified.
See Also