Skip to main content

Crate ooxml_xml

Crate ooxml_xml 

Source
Expand description

Shared XML utilities for the ooxml library.

This crate provides common XML types and utilities used across OOXML format crates for features like roundtrip fidelity (preserving unknown elements/attributes).

Re-exports§

pub use serde_helpers::ooxml_bool;
pub use serde_helpers::ooxml_bool_required;

Modules§

serde_helpers
Serde helpers for OOXML-specific serialization conventions.

Structs§

PositionedAttr
An XML attribute with its original position for correct round-trip ordering.
PositionedNode
A raw XML node with its original position for correct round-trip ordering.
RawXmlElement
A raw XML element with its name, attributes, and children preserved.
RawXmlStreamReader
A streaming reader that produces XML bytes lazily from a RawXmlElement tree.

Enums§

Error
Error type for XML operations.
ParseError
Error type for XML parsing (used by generated parsers).
RawXmlNode
A raw XML node that can be preserved during round-trip.
SerializeError
Error type for XML serialization (used by generated serializers).

Traits§

FromXml
Trait for types that can be parsed from XML elements.
ToXml
Trait for types that can be serialized to XML elements.

Type Aliases§

Result
Result type for XML operations.