API Reference

Modules

A HTML parser and seeker

It is very similar to the Selector module, but is specialized in attributes and attribute selectors

Represents the conjunction of a combinator with its selector

DeepText is a strategy to get text nodes from a HTML tree using a deep search algorithm. It will get all string nodes and concat them

The finder engine traverse the HTML tree searching for nodes matching selectors

FlatText is a strategy to get text nodes from a HTML tree without search deep in the tree. It only gets the text nodes from the first level of nodes

Represents a CSS selector. It also have functions to match nodes with a given selector

Parses a list of tokens returned from SelectorTokenizer and transfor into a Selector

It decodes a given selector and returns the tokens inside it. Check the rules in “src/floki_selector_lexer.xrl”