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§
- Positioned
Attr - An XML attribute with its original position for correct round-trip ordering.
- Positioned
Node - A raw XML node with its original position for correct round-trip ordering.
- RawXml
Element - A raw XML element with its name, attributes, and children preserved.
- RawXml
Stream Reader - A streaming reader that produces XML bytes lazily from a RawXmlElement tree.
Enums§
- Error
- Error type for XML operations.
- Parse
Error - Error type for XML parsing (used by generated parsers).
- RawXml
Node - A raw XML node that can be preserved during round-trip.
- Serialize
Error - 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.