Skip to main content

Module document

Module document 

Source
Expand description

Owned XML documents with stable semantic identities.

XmlDocument owns both the serialized XML and its parsed view. Read-only operations reuse that view. Structural mutation replaces the parsed generation atomically, so identities from an older generation cannot be confused with nodes in the new tree.

Structs§

AttributeIdentity
Identity of one XPath attribute node and its owning element.
DocumentIdentity
Process-local provenance of one owned XML document.
DocumentView
Borrowed semantic view of one immutable XmlDocument generation.
NamespaceIdentity
Identity of one XPath namespace node and its owning element.
NodeIdentity
Identity of one tree node in one immutable document generation.
SemanticOrder
Deterministic total order for tree, namespace, and attribute identities.
XmlDocument
Reusable owned XML document.

Enums§

XmlDocumentError
Errors from owned document parsing, identity validation, and mutation.

Traits§

XmlDocumentPolicy
Operation policy snapshots that can configure owned-document parsing.