HtmlNodeExtensions Type
Static members
Static member | Description |
Full Usage:
HtmlNodeExtensions.Attribute(n, name)
Parameters:
HtmlNode
-
The given node
name : string
-
The name of the attribute to select
Returns: HtmlAttribute
|
|
Full Usage:
HtmlNodeExtensions.AttributeValue(n, name)
Parameters:
HtmlNode
-
The given node
name : string
-
The name of the attribute to get the value from
Returns: string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
HtmlNodeExtensions.Descendants(n, predicate, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
predicate : HtmlNode -> bool
-
The predicate for which descendants to return
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: HtmlNode seq
|
|
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsAndSelf(n, names, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
names : string seq
-
The set of names by which to map the descendants
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: HtmlNode seq
|
|
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsAndSelf(n, predicate, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
predicate : HtmlNode -> bool
-
The predicate for which descendants to return
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: HtmlNode seq
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsAndSelfWithPath(n, name, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
name : string
-
The name by which to map the descendants
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: (HtmlNode * HtmlNode list) seq
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsAndSelfWithPath(n, names, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
names : string seq
-
The set of names by which to map the descendants
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: (HtmlNode * HtmlNode list) seq
|
|
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsAndSelfWithPath(n, predicate, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
predicate : HtmlNode -> bool
-
The predicate for which descendants to return
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: (HtmlNode * HtmlNode list) seq
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsWithPath(n, name, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
name : string
-
The name by which to map the descendants
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: (HtmlNode * HtmlNode list) seq
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsWithPath(n, names, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
names : string seq
-
The set of names by which to map the descendants
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: (HtmlNode * HtmlNode list) seq
|
|
|
|
|
|
Full Usage:
HtmlNodeExtensions.DescendantsWithPath(n, predicate, recurseOnMatch)
Parameters:
HtmlNode
-
The given node
predicate : HtmlNode -> bool
-
The predicate for which descendants to return
recurseOnMatch : bool
-
If a match is found continues down the tree matching child elements
Returns: (HtmlNode * HtmlNode list) seq
|
|
|
|
|
|
|
|
|
|
Full Usage:
HtmlNodeExtensions.HasAttribute(n, name, value)
Parameters:
HtmlNode
-
The given node
name : string
-
The name of the attribute
value : string
-
The value of the attribute
Returns: bool
|
|
Full Usage:
HtmlNodeExtensions.HasClass(n, cssClass)
Parameters:
HtmlNode
cssClass : string
Returns: bool
|
|
|
|
Full Usage:
HtmlNodeExtensions.HasName(n, name)
Parameters:
HtmlNode
name : string
Returns: bool
|
|
|
|
|
|
Full Usage:
HtmlNodeExtensions.TryGetAttribute(n, name)
Parameters:
HtmlNode
-
The given node
name : string
-
The name of the attribute to select
Returns: HtmlAttribute option
|
|