HtmlDocumentExtensions (FSharp.Data)

Finds the body element of the given document, this throws an exception if no body element exists.

doc : HtmlDocument
Returns: HtmlNode

Finds all of the descendant nodes of this document that match the given name Recurses on match

doc : HtmlDocument

The given document

name : string

The name to match

Returns: HtmlNode seq

Finds all of the descendant nodes of this document that match the given name

doc : HtmlDocument

The given document

name : string

The name to match

recurseOnMatch : bool

If a match is found continues down the tree matching child elements

Returns: HtmlNode seq

Finds all of the descendant nodes of this document that match the given set of names Recurses on match

doc : HtmlDocument

The given document

names : string seq

The set of names to match

Returns: HtmlNode seq

Finds all of the descendant nodes of this document that match the given set of names

doc : HtmlDocument

The given document

names : string seq

The set of names to match

recurseOnMatch : bool

If a match is found continues down the tree matching child elements

Returns: HtmlNode seq

Gets all of the descendants of this document Recurses on match

doc : HtmlDocument
Returns: HtmlNode seq

Gets all of the descendants of this document that statisfy the given predicate Recurses on match

doc : HtmlDocument

The given document

predicate : HtmlNode -> bool

The predicate by which to match the nodes to return

Returns: HtmlNode seq

Gets all of the descendants of this document that statisfy the given predicate

doc : HtmlDocument

The given document

predicate : HtmlNode -> bool

The predicate by which to match the nodes to return

recurseOnMatch : bool

If a match is found continues down the tree matching child elements

Returns: HtmlNode seq

Finds all of the descendant nodes of this document that match the given name Recurses on match

doc : HtmlDocument

The given document

name : string

The name to match

Returns: (HtmlNode * HtmlNode list) seq

Finds all of the descendant nodes of this document that match the given name

doc : HtmlDocument

The given document

name : string

The name to match

recurseOnMatch : bool

If a match is found continues down the tree matching child elements

Returns: (HtmlNode * HtmlNode list) seq

Finds all of the descendant nodes of this document that match the given set of names Recurses on match

doc : HtmlDocument

The given document

names : string seq

The set of names to match

Returns: (HtmlNode * HtmlNode list) seq

Finds all of the descendant nodes of this document that match the given set of names

doc : HtmlDocument

The given document

names : string seq

The set of names to match

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 this document Recurses on match

doc : HtmlDocument
Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of this document that statisfy the given predicate Recurses on match

doc : HtmlDocument

The given document

predicate : HtmlNode -> bool

The predicate by which to match the nodes to return

Returns: (HtmlNode * HtmlNode list) seq

Gets all of the descendants of this document that statisfy the given predicate

doc : HtmlDocument

The given document

predicate : HtmlNode -> bool

The predicate by which to match the nodes to return

recurseOnMatch : bool

If a match is found continues down the tree matching child elements

Returns: (HtmlNode * HtmlNode list) seq

Returns all of the root elements in the current document that match the name

doc : HtmlDocument

The given document

name : string

The name to match

Returns: HtmlNode list

Returns all of the root elements in the current document that match the set of names

doc : HtmlDocument

The given document

names : string seq

The set of names to match

Returns: HtmlNode list

Returns all of the root elements of the current document

doc : HtmlDocument

The given document

Returns: HtmlNode list

Finds the html element of the given document, this throws an exception if no html element exists.

doc : HtmlDocument
Returns: HtmlNode

Tries to find the body element of the given document.

doc : HtmlDocument
Returns: HtmlNode option

Tries to find the html element of the given document.

doc : HtmlDocument
Returns: HtmlNode option