Header menu logo FSharp.Data

HtmlActivePatterns Module

Active patterns

Active pattern Description

(|HtmlAttribute|) attribute

Full Usage: (|HtmlAttribute|) attribute

Parameters:
Returns: string * string

Active pattern that decomposes an HtmlAttribute into its name and value.

attribute : HtmlAttribute
Returns: string * string

(|HtmlElement|HtmlText|HtmlComment|HtmlCData|) node

Full Usage: (|HtmlElement|HtmlText|HtmlComment|HtmlCData|) node

Parameters:
Returns: Choice<(string * HtmlAttribute list * HtmlNode list), string, string, string>

Active pattern that decomposes an HtmlNode into one of four cases: HtmlElement (name, attributes, child elements), HtmlText (text content), HtmlComment (comment content), or HtmlCData (CDATA content).

node : HtmlNode
Returns: Choice<(string * HtmlAttribute list * HtmlNode list), string, string, string>

Type something to start searching.