HtmlNode (FSharp.Data)

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.

name : string

The name of the attribute to get the value from

n : HtmlNode

The given node

Returns: string

Gets all of the attributes of this node

n : HtmlNode
Returns: HtmlAttribute list

Gets descendants matched by Css selector

node : HtmlNode
selector : string
Returns: HtmlNode list

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

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

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

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 * HtmlNode list) seq

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 * HtmlNode list) seq

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

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 * HtmlNode list) seq

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 * HtmlNode list) seq

Returns the direct inner text of the current node

n : HtmlNode

The given node

Returns: string

Gets all of the nodes immediately under this node

n : HtmlNode
Returns: HtmlNode list

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

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

cssClass : string
n : HtmlNode
Returns: bool

Returns true if the current node has the specified id

id : string
n : HtmlNode
Returns: bool

Returns true if the current node has the specified name

expectedName : string
n : HtmlNode
Returns: bool

Returns the inner text of the current node

n : HtmlNode

The given node

Returns: string
exclusions : string list
n : HtmlNode
Returns: string

Gets the given nodes name

n : HtmlNode
Returns: string

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