Expand description
crossfoot-xml: a namespace-aware XML 1.0 parser producing an immutable arena DOM.
The DOM is Send + Sync, keeps byte offsets for every node (line/column on demand),
resolves xml:base, xml:lang and QName-valued content, and indexes id attributes.
It is the one XML representation every Crossfoot component reads.
Structs§
- Attribute
- Children
- Document
- Immutable parsed document.
- Node
- A borrowed handle on a node.
- NodeId
- Parse
Options - QName
- An expanded name. Equality and hashing ignore the prefix.
- XmlError
- A well-formedness or encoding error.
Enums§
Constants§
Functions§
- escape_
attr - escape_
text - has_
scheme - is_name
- is_
name_ char - is_
name_ start - is_
ncname - parse
- Parse bytes (encoding detected from BOM / declaration).
- parse_
str - resolve_
uri - Resolve a URI reference against a base (RFC 3986 §5.2), tolerant of Windows-ish and
opaque bases. Works for
http(s):,file:and plain relative paths.
Type Aliases§
- Atom
- Interned-ish string. Plain
Arc<str>; equality is by content.