Header menu logo FSharp.Data

HtmlNodeExtensions Type

Static members

Static member Description

HtmlNodeExtensions.Attribute(n, name)

Full Usage: HtmlNodeExtensions.Attribute(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The name of the attribute to select

Returns: HtmlAttribute

Returns the attribute with the given name. If the attribute does not exist then this will throw an exception

n : HtmlNode

The given node

name : string

The name of the attribute to select

Returns: HtmlAttribute

HtmlNodeExtensions.AttributeValue(n, name)

Full Usage: HtmlNodeExtensions.AttributeValue(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The name of the attribute to get the value from

Returns: string

Return the value of the named attribute, or an empty string if not found.

n : HtmlNode

The given node

name : string

The name of the attribute to get the value from

Returns: string

HtmlNodeExtensions.Attributes(n)

Full Usage: HtmlNodeExtensions.Attributes(n)

Parameters:
Returns: HtmlAttribute list

Gets all of the attributes of this node

n : HtmlNode
Returns: HtmlAttribute list

HtmlNodeExtensions.Descendants(n, name)

Full Usage: HtmlNodeExtensions.Descendants(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The name by which to map the descendants

Returns: HtmlNode seq

Gets all of the descendants of the current node, which match the given name Recurses on match

n : HtmlNode

The given node

name : string

The name by which to map the descendants

Returns: HtmlNode seq

HtmlNodeExtensions.Descendants(n, name, recurseOnMatch)

Full Usage: HtmlNodeExtensions.Descendants(n, name, recurseOnMatch)

Parameters:
    n : 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 seq

Gets all of the descendants of the current node, which match the given name

n : 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 seq

HtmlNodeExtensions.Descendants(n, names)

Full Usage: HtmlNodeExtensions.Descendants(n, names)

Parameters:
    n : HtmlNode - The given node
    names : string seq - The set of names by which to map the descendants

Returns: HtmlNode seq

Gets all of the descendants of the current node, which match the given set of names Recurses on match

n : HtmlNode

The given node

names : string seq

The set of names by which to map the descendants

Returns: HtmlNode seq

HtmlNodeExtensions.Descendants(n, names, recurseOnMatch)

Full Usage: HtmlNodeExtensions.Descendants(n, names, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node, which match the given set of names

n : 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

HtmlNodeExtensions.Descendants(n)

Full Usage: HtmlNodeExtensions.Descendants(n)

Parameters:
Returns: HtmlNode seq

Gets all of the descendants of the current node Recurses on match

n : HtmlNode
Returns: HtmlNode seq

HtmlNodeExtensions.Descendants(n, predicate)

Full Usage: HtmlNodeExtensions.Descendants(n, predicate)

Parameters:
    n : HtmlNode - The given node
    predicate : HtmlNode -> bool - The predicate for which descendants to return

Returns: HtmlNode seq

Gets all of the descendants of the current node that satisfy the predicate Recurses on match

n : HtmlNode

The given node

predicate : HtmlNode -> bool

The predicate for which descendants to return

Returns: HtmlNode seq

HtmlNodeExtensions.Descendants(n, predicate, recurseOnMatch)

Full Usage: HtmlNodeExtensions.Descendants(n, predicate, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node that satisfy the predicate

n : 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

HtmlNodeExtensions.DescendantsAndSelf(n, name)

Full Usage: HtmlNodeExtensions.DescendantsAndSelf(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The name by which to map the descendants

Returns: HtmlNode seq

Gets all of the descendants of the current node, which match the given name The current node is also considered in the comparison Recurses on match

n : HtmlNode

The given node

name : string

The name by which to map the descendants

Returns: HtmlNode seq

HtmlNodeExtensions.DescendantsAndSelf(n, name, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsAndSelf(n, name, recurseOnMatch)

Parameters:
    n : 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 seq

Gets all of the descendants of the current node, which match the given name The current node is also considered in the comparison

n : 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 seq

HtmlNodeExtensions.DescendantsAndSelf(n, names)

Full Usage: HtmlNodeExtensions.DescendantsAndSelf(n, names)

Parameters:
    n : HtmlNode - The given node
    names : string seq - The set of names by which to map the descendants

Returns: HtmlNode seq

Gets all of the descendants of the current node, which match the given set of names The current node is also considered in the comparison Recurses on match

n : HtmlNode

The given node

names : string seq

The set of names by which to map the descendants

Returns: HtmlNode seq

HtmlNodeExtensions.DescendantsAndSelf(n, names, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsAndSelf(n, names, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node, which match the given set of names The current node is also considered in the comparison

n : 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

HtmlNodeExtensions.DescendantsAndSelf(n)

Full Usage: HtmlNodeExtensions.DescendantsAndSelf(n)

Parameters:
Returns: HtmlNode seq

Gets all of the descendants of the current node The current node is also considered in the comparison Recurses on match

n : HtmlNode
Returns: HtmlNode seq

HtmlNodeExtensions.DescendantsAndSelf(n, predicate)

Full Usage: HtmlNodeExtensions.DescendantsAndSelf(n, predicate)

Parameters:
    n : HtmlNode - The given node
    predicate : HtmlNode -> bool - The predicate for which descendants to return

Returns: HtmlNode seq

Gets all of the descendants of the current node that satisfy the predicate The current node is also considered in the comparison Recurses on match

n : HtmlNode

The given node

predicate : HtmlNode -> bool

The predicate for which descendants to return

Returns: HtmlNode seq

HtmlNodeExtensions.DescendantsAndSelf(n, predicate, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsAndSelf(n, predicate, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node that satisfy the predicate The current node is also considered in the comparison

n : 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

HtmlNodeExtensions.DescendantsAndSelfWithPath(n, name)

Full Usage: HtmlNodeExtensions.DescendantsAndSelfWithPath(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node, which match the given name The current node is also considered in the comparison Recurses on match

n : HtmlNode

The given node

name : string

The names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsAndSelfWithPath(n, name, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsAndSelfWithPath(n, name, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node, which match the given name The current node is also considered in the comparison

n : 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

HtmlNodeExtensions.DescendantsAndSelfWithPath(n, names)

Full Usage: HtmlNodeExtensions.DescendantsAndSelfWithPath(n, names)

Parameters:
    n : HtmlNode - The given node
    names : string seq - The set of names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node, which match the given set of names The current node is also considered in the comparison Recurses on match

n : HtmlNode

The given node

names : string seq

The set of names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsAndSelfWithPath(n, names, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsAndSelfWithPath(n, names, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node, which match the given set of names The current node is also considered in the comparison

n : 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

HtmlNodeExtensions.DescendantsAndSelfWithPath(n)

Full Usage: HtmlNodeExtensions.DescendantsAndSelfWithPath(n)

Parameters:
Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node The current node is also considered in the comparison Recurses on match

n : HtmlNode
Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsAndSelfWithPath(n, predicate)

Full Usage: HtmlNodeExtensions.DescendantsAndSelfWithPath(n, predicate)

Parameters:
    n : HtmlNode - The given node
    predicate : HtmlNode -> bool - The predicate for which descendants to return

Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node that satisfy the predicate The current node is also considered in the comparison Recurses on match

n : HtmlNode

The given node

predicate : HtmlNode -> bool

The predicate for which descendants to return

Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsAndSelfWithPath(n, predicate, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsAndSelfWithPath(n, predicate, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node that satisfy the predicate The current node is also considered in the comparison

n : 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

HtmlNodeExtensions.DescendantsWithPath(n, name)

Full Usage: HtmlNodeExtensions.DescendantsWithPath(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node, which match the given name Recurses on match

n : HtmlNode

The given node

name : string

The names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsWithPath(n, name, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsWithPath(n, name, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node, which match the given name

n : 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

HtmlNodeExtensions.DescendantsWithPath(n, names)

Full Usage: HtmlNodeExtensions.DescendantsWithPath(n, names)

Parameters:
    n : HtmlNode - The given node
    names : string seq - The set of names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node, which match the given set of names Recurses on match

n : HtmlNode

The given node

names : string seq

The set of names by which to map the descendants

Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsWithPath(n, names, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsWithPath(n, names, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node, which match the given set of names

n : 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

HtmlNodeExtensions.DescendantsWithPath(n)

Full Usage: HtmlNodeExtensions.DescendantsWithPath(n)

Parameters:
Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node Recurses on match

n : HtmlNode
Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsWithPath(n, predicate)

Full Usage: HtmlNodeExtensions.DescendantsWithPath(n, predicate)

Parameters:
    n : HtmlNode - The given node
    predicate : HtmlNode -> bool - The predicate for which descendants to return

Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of the current node that satisfy the predicate Recurses on match

n : HtmlNode

The given node

predicate : HtmlNode -> bool

The predicate for which descendants to return

Returns: (HtmlNode * HtmlNode list) seq

HtmlNodeExtensions.DescendantsWithPath(n, predicate, recurseOnMatch)

Full Usage: HtmlNodeExtensions.DescendantsWithPath(n, predicate, recurseOnMatch)

Parameters:
    n : 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

Gets all of the descendants of the current node that satisfy the predicate

n : 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

HtmlNodeExtensions.DirectInnerText(n)

Full Usage: HtmlNodeExtensions.DirectInnerText(n)

Parameters:
Returns: string

Returns the direct inner text of the current node

n : HtmlNode
Returns: string

HtmlNodeExtensions.Elements(n, name)

Full Usage: HtmlNodeExtensions.Elements(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The name by which to map the elements

Returns: HtmlNode list

Gets all of the elements of the current node, which match the given name

n : HtmlNode

The given node

name : string

The name by which to map the elements

Returns: HtmlNode list

HtmlNodeExtensions.Elements(n, names)

Full Usage: HtmlNodeExtensions.Elements(n, names)

Parameters:
    n : HtmlNode - The given node
    names : string seq - The set of names by which to map the elements

Returns: HtmlNode list

Gets all of the elements of the current node, which match the given set of names

n : HtmlNode

The given node

names : string seq

The set of names by which to map the elements

Returns: HtmlNode list

HtmlNodeExtensions.Elements(n)

Full Usage: HtmlNodeExtensions.Elements(n)

Parameters:
Returns: HtmlNode list

Gets all of the nodes immediately under this node

n : HtmlNode
Returns: HtmlNode list

HtmlNodeExtensions.HasAttribute(n, name, value)

Full Usage: HtmlNodeExtensions.HasAttribute(n, name, value)

Parameters:
    n : HtmlNode - The given node
    name : string - The name of the attribute
    value : string - The value of the attribute

Returns: bool

Returns true if the current node has an attribute that matches both the name and the value

n : HtmlNode

The given node

name : string

The name of the attribute

value : string

The value of the attribute

Returns: bool

HtmlNodeExtensions.HasClass(n, cssClass)

Full Usage: HtmlNodeExtensions.HasClass(n, cssClass)

Parameters:
Returns: bool

Returns true if the current node has the specified class

n : HtmlNode
cssClass : string
Returns: bool

HtmlNodeExtensions.HasId(n, id)

Full Usage: HtmlNodeExtensions.HasId(n, id)

Parameters:
Returns: bool

Returns true if the current node has the specified id

n : HtmlNode
id : string
Returns: bool

HtmlNodeExtensions.HasName(n, name)

Full Usage: HtmlNodeExtensions.HasName(n, name)

Parameters:
Returns: bool

Returns true if the current node has the specified name

n : HtmlNode
name : string
Returns: bool

HtmlNodeExtensions.InnerText(n)

Full Usage: HtmlNodeExtensions.InnerText(n)

Parameters:
Returns: string

Returns the inner text of the current node

n : HtmlNode
Returns: string

HtmlNodeExtensions.Name(n)

Full Usage: HtmlNodeExtensions.Name(n)

Parameters:
Returns: string

Gets the given nodes name

n : HtmlNode
Returns: string

HtmlNodeExtensions.TryGetAttribute(n, name)

Full Usage: HtmlNodeExtensions.TryGetAttribute(n, name)

Parameters:
    n : HtmlNode - The given node
    name : string - The name of the attribute to select

Returns: HtmlAttribute option

Tries to select an attribute with the given name from the current node.

n : HtmlNode

The given node

name : string

The name of the attribute to select

Returns: HtmlAttribute option

Type something to start searching.