Skip to main content

Module parser

Module parser 

Source
Expand description

Thin wrappers around the underlying HTML parser.

[NodeRef] is the reference-counted DOM node type used throughout the crate. [parse_html] parses a complete HTML document into a [NodeRef] tree.

Structs§

Attributes
Convenience wrapper around a indexmap that adds method for attributes in the null namespace.
NodeRef
A strong reference to a node.

Traits§

NodeExt
DOM-navigation and element-manipulation helpers implemented on NodeRef.

Functions§

new_html_element
Create a new, detached HTML element node with the given tag name and no attributes or children.
parse_html
Parse an HTML string into a NodeRef document tree.