[][src]Crate kuchiki

Kuchiki (朽木), a HTML/XML tree manipulation library for Rust.

Modules

iter

Node iterators

traits

This module re-exports a number of traits that are useful when using Kuchiki. It can be used with:

Structs

Attribute

The non-identifying parts of an attribute

Attributes

Convenience wrapper around a btreemap that adds method for attributes in the null namespace.

Doctype

Data specific to doctype nodes.

DocumentData

Data specific to document nodes.

ElementData

Data specific to element nodes.

ExpandedName

https://www.w3.org/TR/REC-xml-names/#dt-expname

Node

A node inside a DOM-like tree.

NodeDataRef

Holds a strong reference to a node, but dereferences to some component inside of it.

NodeRef

A strong reference to a node.

ParseOpts

Options for the HTML parser.

Selector

A pre-compiled CSS Selector.

Selectors

A pre-compiled list of CSS Selectors.

Specificity

The specificity of a selector.

Enums

NodeData

Node data specific to the node type.

Functions

parse_html

Parse an HTML document with html5ever and the default configuration.

parse_html_with_options

Parse an HTML document with html5ever with custom configuration.