Transform MaskXmlInvalidCharacters Method Apache log4net™ SDK Documentation
Replace invalid XML characters in text string

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static string MaskXmlInvalidCharacters(
	string textData,
	string mask
)

Return Value

Type: OnlineString
A string that does not contain invalid XML characters.
Remarks

Certain Unicode code points are not allowed in the XML InfoSet, for details see: Onlinehttp://www.w3.org/TR/REC-xml/#charsets.

This method replaces any illegal characters in the input string with the mask string specified.

See Also