RelayMark.DocumentXML (relay_mark_elixir v0.7.2)

Copy Markdown View Source

The portable XML snapshot of the collaborative fragment: the lossless JSON tree of the Y.XmlFragment that native and web replicas exchange. Conversions run in the canonical RelayMark engine.

Summary

Functions

Canonical XML snapshot of a document.

Canonical element names with authored block identity (not inline entity IDs).

Finite original snapshot conversion; canonical geometry is retained without a physical cut. No live admission or undo-history authority.

Finite historical XML import with the identity changes for the existing CRDT owner.

Finite admitted AST kinds for content-free inventory, from the canonical projection grammar.

Normalize semantic text segmentation, preserving identities and metadata.

Document of a canonical XML snapshot.

Validates typing attributes through the canonical rich text/mark owner.

Functions

from_document(document)

Canonical XML snapshot of a document.

identified_node_names()

Canonical element names with authored block identity (not inline entity IDs).

import_aggregate_settings_snapshot(snapshot)

Finite original snapshot conversion; canonical geometry is retained without a physical cut. No live admission or undo-history authority.

import_snapshot(snapshot, options \\ [])

Finite historical XML import with the identity changes for the existing CRDT owner.

inventory_types()

Finite admitted AST kinds for content-free inventory, from the canonical projection grammar.

normalize_document(document)

Normalize semantic text segmentation, preserving identities and metadata.

to_document(snapshot)

Document of a canonical XML snapshot.

validate_text_attributes(attributes)

Validates typing attributes through the canonical rich text/mark owner.