Crate htmlite

Crate htmlite 

Source
Expand description

HTML parsing, generation and manipulation.

Use parse to parse an HTML string. This returns a tree of HTML nodes. The methods on Node allow you to traverse & manipluate the tree.

For generating HTML programmatically, take a look at the html declarative macro.

Macros§

html
This macro implements a syntax for creating HTML Nodes.

Structs§

Descendants
Node
Represents a node in an HTML document.
NodeArena
Storage for parsed HTML nodes.
ParserError
An error that occurs while constructing an HTML tree.
Selection
An iterator of nodes that match a particular criteria.

Enums§

NodeKind
Types of nodes that might exist in an HTML document.

Functions§

parse
Parses the given HTML fragment.