C# Class Html_Agil_Xpath.Agil_Xpath

Datei anzeigen Open project: samfisher83/HTML-Agility-xpath-finder Class Usage Examples

Public Methods

Method Description
LoadFromFile ( string path ) : Agil_Xpath
LoadFromString ( string html ) : Agil_Xpath
LoadFromURL ( string url ) : Agil_Xpath
findText ( string term ) : void
getHtml ( ) : string

Returns all html from web document

this ( string node ) : HtmlNode

Returns a single code

Private Methods

Method Description
Agil_Xpath ( ) : System
findNode ( HtmlNode node, string search, int count ) : void

Method Details

LoadFromFile() public static method

public static LoadFromFile ( string path ) : Agil_Xpath
path string
return Agil_Xpath

LoadFromString() public static method

public static LoadFromString ( string html ) : Agil_Xpath
html string
return Agil_Xpath

LoadFromURL() public static method

public static LoadFromURL ( string url ) : Agil_Xpath
url string
return Agil_Xpath

findText() public method

public findText ( string term ) : void
term string
return void

getHtml() public method

Returns all html from web document
public getHtml ( ) : string
return string

this() public method

Returns a single code
public this ( string node ) : HtmlNode
node string xpath of node
return HtmlAgilityPack.HtmlNode