HtmlNode (FSharp.Data)
Returns the attribute with the given name. If the
attribute does not exist then this will throw an exception
Returns the attribute with the given name. If the attribute does not exist then this will throw an exception
-
name
:
string -
The name of the attribute to select
-
n
:
HtmlNode -
The given node
-
Returns:
HtmlAttribute
Return the value of the named attribute, or an empty string if not found.
Return the value of the named attribute, or an empty string if not found.
-
name
:
string -
The name of the attribute to get the value from
-
n
:
HtmlNode -
The given node
-
Returns:
string
Gets all of the descendants of this node that statisfy the given predicate
Gets all of the descendants of this node that statisfy the given predicate
-
recurseOnMatch
:
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
-
n
:
HtmlNode -
The given node
-
Returns:
HtmlNode seq
Gets all of the descendants of this node that statisfy the given predicate
The current node is also considered in the comparison
Gets all of the descendants of this node that statisfy the given predicate The current node is also considered in the comparison
-
recurseOnMatch
:
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
-
n
:
HtmlNode -
The given node
-
Returns:
HtmlNode seq
Finds all of the descendant nodes of this nodes that match the given set of names
The current node is also considered in the comparison
Finds all of the descendant nodes of this nodes that match the given set of names The current node is also considered in the comparison
-
recurseOnMatch
:
bool -
If a match is found continues down the tree matching child elements
-
names
:
string seq -
The set of names to match
-
n
:
HtmlNode -
The given node
-
Returns:
HtmlNode seq
Finds all of the descendant nodes of this nodes that match the given set of names
The current node is also considered in the comparison
Finds all of the descendant nodes of this nodes that match the given set of names The current node is also considered in the comparison
-
recurseOnMatch
:
bool -
If a match is found continues down the tree matching child elements
-
names
:
string seq -
The set of names to match
-
n
:
HtmlNode -
The given node
Gets all of the descendants of this node that statisfy the given predicate
The current node is also considered in the comparison
Gets all of the descendants of this node that statisfy the given predicate The current node is also considered in the comparison
Finds all of the descendant nodes of this nodes that match the given set of names
Finds all of the descendant nodes of this nodes that match the given set of names
-
recurseOnMatch
:
bool -
If a match is found continues down the tree matching child elements
-
names
:
string seq -
The set of names to match
-
n
:
HtmlNode -
The given node
-
Returns:
HtmlNode seq
Finds all of the descendant nodes of this nodes that match the given set of names
Finds all of the descendant nodes of this nodes that match the given set of names
-
recurseOnMatch
:
bool -
If a match is found continues down the tree matching child elements
-
names
:
string seq -
The set of names to match
-
n
:
HtmlNode -
The given node
Gets all of the descendants of this node that statisfy the given predicate
Gets all of the descendants of this node that statisfy the given predicate
Finds all of the elements nodes of this node that match the given set of names
Finds all of the elements nodes of this node that match the given set of names
-
names
:
string seq -
The set of names to match
-
n
:
HtmlNode -
The given node
-
Returns:
HtmlNode list
Returns true if the current node has an attribute that
matches both the name and the value
Returns true if the current node has an attribute that matches both the name and the value
-
name
:
string -
The name of the attribute
-
value
:
string -
The value of the attribute
-
n
:
HtmlNode -
The given html node
-
Returns:
bool
Returns true if the current node has the specified class
Returns true if the current node has the specified class
-
cssClass
:
string -
n
:
HtmlNode
-
Returns:
bool
Returns true if the current node has the specified name
Returns true if the current node has the specified name
-
expectedName
:
string -
n
:
HtmlNode
-
Returns:
bool
-
exclusions
:
string list -
n
:
HtmlNode
-
Returns:
string
Tries to return an attribute that exists on the current node
Tries to return an attribute that exists on the current node
-
name
:
string -
The name of the attribute to return.
-
n
:
HtmlNode -
The given node
-
Returns:
HtmlAttribute option