C# Класс Elmah.XmlText

XML 1.0 services.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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).

Описание методов

StripIllegalXmlCharacters() публичный статический Метод

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).
public static StripIllegalXmlCharacters ( string xml ) : string
xml string
Результат string

StripIllegalXmlCharacters() публичный статический Метод

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 replacement ) : string
xml string
replacement string
Результат string