C# 클래스 QualityBot.Util.XpathUtil

Contains useful XPath functionality.
파일 보기 프로젝트 열기: Ancestry/quality-bot

공개 메소드들

메소드 설명
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