Expand description
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.
- Document
Data - Data specific to document nodes.
- Element
Data - Data specific to element nodes.
- Expanded
Name - https://www.w3.org/TR/REC-xml-names/#dt-expname
- Node
- A node inside a DOM-like tree.
- Node
Data Ref - Holds a strong reference to a node, but dereferences to some component inside of it.
- NodeRef
- A strong reference to a node.
- Parse
Opts - Options for the HTML parser.
- Selector
- A pre-compiled CSS Selector.
- Selectors
- A pre-compiled list of CSS Selectors.
- Sink
- Receives new tree nodes during parsing.
- Specificity
- The specificity of a selector.
Enums§
- Node
Data - Node data specific to the node type.
Functions§
- parse_
fragment - Parse an HTML fragment with html5ever and the default configuration.
- 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.