Replace invalid XML characters in text string
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- textData
- Type: SystemString
the XML text input string - mask
- Type: SystemString
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