C# Класс QualityBot.Util.XpathUtil

Contains useful XPath functionality.
Показать файл Открыть проект

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

Метод Описание
GetHtmlDocument ( string html ) : HtmlAgilityPack.HtmlDocument

Creates an HtmlDocument with the html provided.

GetNode ( HtmlAgilityPack.HtmlDocument html, string xpath ) : HtmlNode

Parses the html for the XPath.

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

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

Creates an HtmlDocument with the html provided.
public static GetHtmlDocument ( string html ) : HtmlAgilityPack.HtmlDocument
html string The source.
Результат HtmlAgilityPack.HtmlDocument

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

Parses the html for the XPath.
public static GetNode ( HtmlAgilityPack.HtmlDocument html, string xpath ) : HtmlNode
html HtmlAgilityPack.HtmlDocument The html to parse.
xpath string The XPath.
Результат HtmlAgilityPack.HtmlNode