Module yrs::types::xml

source · []

Structs

Iterator over the attributes (key-value pairs represented as a strings) of an XmlElement.

An iterator over XmlElement successors, working in a recursive depth-first manner.

XML element data type. It represents an XML node, which can contain key-value attributes (interpreted as strings) as well as other nested XML elements or rich text (represented by XmlText type).

Event generated by XmlElement::observe method. Emitted during transaction commit phase.

A shared data type used for collaborative text editing, that can be used in a context of XmlElement nodee. It enables multiple users to add and remove chunks of text in efficient manner. This type is internally represented as a mutable double-linked list of text chunks

Event generated by XmlText::observe method. Emitted during transaction commit phase.

Enums

An return type from XML elements retrieval methods. It’s an enum of all supported values, that can be nested inside of XmlElement. These are other XmlElements or XmlText values.