C# Класс ContentFiltering.Office.Word.Cleaners.XmlNamespaceDefinitionsReplacer

Replaces the opening html tag with a given one.
Наследование: IHTMLCleaner
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Clean ( string htmlCode ) : string

Replaces the opening html tag with a given one.

GetXmlNamespaceDefinitions ( String htmlCode ) : String

Gets a string representing the opening html tag with the XML namespace definitions, if any.

XmlNamespaceDefinitionsReplacer ( string newHtmlTag ) : System

Creates a new XmlNamespaceDefinitionsReplacer HTML cleaner (pre-DOM filter).

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

Clean() публичный Метод

Replaces the opening html tag with a given one.
public Clean ( string htmlCode ) : string
htmlCode string The html source.
Результат string

GetXmlNamespaceDefinitions() публичный Метод

Gets a string representing the opening html tag with the XML namespace definitions, if any.
public GetXmlNamespaceDefinitions ( String htmlCode ) : String
htmlCode String The html source to be processed
Результат String

XmlNamespaceDefinitionsReplacer() публичный Метод

Creates a new XmlNamespaceDefinitionsReplacer HTML cleaner (pre-DOM filter).
public XmlNamespaceDefinitionsReplacer ( string newHtmlTag ) : System
newHtmlTag string Openening html tag that will replace the current one.
Результат System