HtmlDocument Module
Functions and values
Function or value | Description |
Full Usage:
body x
Parameters:
HtmlDocument
-
The given document
Returns: HtmlNode
Modifiers: inline |
|
Full Usage:
descendants recurseOnMatch predicate doc
Parameters:
bool
-
If a match is found continues down the tree matching child elements
predicate : HtmlNode -> bool
-
The predicate by which to match the nodes to return
doc : HtmlDocument
-
The given document
Returns: HtmlNode seq
Modifiers: inline |
|
Full Usage:
descendantsNamed recurseOnMatch names doc
Parameters:
bool
-
If a match is found continues down the tree matching child elements
names : string seq
-
The set of names to match
doc : HtmlDocument
-
The given document
Returns: HtmlNode seq
Modifiers: inline |
|
Full Usage:
descendantsNamedWithPath recurseOnMatch names doc
Parameters:
bool
-
If a match is found continues down the tree matching child elements
names : string seq
-
The set of names to match
doc : HtmlDocument
-
The given document
Returns: (HtmlNode * HtmlNode list) seq
Modifiers: inline |
|
Full Usage:
descendantsWithPath recurseOnMatch predicate doc
Parameters:
bool
-
If a match is found continues down the tree matching child elements
predicate : HtmlNode -> bool
-
The predicate by which to match the nodes to return
doc : HtmlDocument
-
The given document
Returns: (HtmlNode * HtmlNode list) seq
Modifiers: inline |
|
|
|
|
|
Full Usage:
elementsNamed names doc
Parameters:
string seq
-
The set of names to match
doc : HtmlDocument
-
The given document
Returns: HtmlNode list
Modifiers: inline |
|
Full Usage:
html x
Parameters:
HtmlDocument
-
The given document
Returns: HtmlNode
Modifiers: inline |
|
Full Usage:
tryGetBody x
Parameters:
HtmlDocument
-
The given document
Returns: HtmlNode option
Modifiers: inline |
|
Full Usage:
tryGetHtml x
Parameters:
HtmlDocument
-
The given document
Returns: HtmlNode option
Modifiers: inline |