Метод | Описание | |
---|---|---|
StripIllegalXmlCharacters ( string xml ) : string |
Replaces illegal XML characters with a question mark (?). Only strips illegal characters as per XML 1.0, not 1.1. See section 2.2 Characters of Extensible Markup Language (XML) 1.0 (Fourth Edition). |
|
StripIllegalXmlCharacters ( string xml, string replacement ) : string |
Replaces illegal XML characters with a replacement string, with the default being a question mark (?) if the replacement is null reference. Only strips illegal characters as per XML 1.0, not 1.1. See section 2.2 Characters of Extensible Markup Language (XML) 1.0 (Fourth Edition). |
public static StripIllegalXmlCharacters ( string xml ) : string | ||
xml | string | |
Результат | string |
public static StripIllegalXmlCharacters ( string xml, string replacement ) : string | ||
xml | string | |
replacement | string | |
Результат | string |