Expand description
Represent an XML document as a read-only tree.
The root point of the documentations is Document::parse
.
You can find more details in the README and the parsing doc.
The tree structure itself is a heavily modified https://github.com/causal-agent/ego-tree License: ISC.
ModulesΒ§
StructsΒ§
- Attribute
- An attribute.
- Attribute
Data π - Attributes
- Iterator over a nodeβs attributes
- Axis
Iter - Iterator over specified axis.
- Children
- Iterator over children.
- Descendants
- Iterator over a node and its descendants.
- Document
- An XML tree container.
- Expanded
Name - An expanded name.
- Expanded
Name πIndexed - Namespace
- A namespace.
- Namespace
Idx π - Namespace
Iter - Iterator over the namespaces attached to a node.
- Namespaces π
- Node
- A node in a document.
- Node
Data π - NodeId
- A node ID stored as
u32
. - PI
- A processing instruction.
- Parsing
Options - Parsing options.
- Short
Range π - A short range.
- TextPos
- Position in text.
EnumsΒ§
- Error
- A list of all possible errors.
- Node
Kind π - Node
Type - A list of supported node types.
- String
Storage - A string storage.
ConstantsΒ§
- NS_
XMLNS_ URI - The http://www.w3.org/2000/xmlns/ URI.
- NS_
XML_ πPREFIX - The prefix βxmlβ, which is by definition bound to NS_XML_URI
- NS_
XML_ URI - The http://www.w3.org/XML/1998/namespace URI.
- XMLNS π
- The string βxmlnsβ, which is used to declare new namespaces
Type AliasesΒ§
- Owned
Shared πString