HtmlActivePatterns (FSharp.Data)

(|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>