xml-core 1.0.0

Low-level generic XML reading/writing, shared building block for all OOXML formats in the toolkit.
Documentation
//! `xml-core` — low-level XML infrastructure for the toolkit.
//!
//! This crate provides reading and writing of generic XML streams, with no
//! knowledge of the OOXML vocabulary (WordprocessingML, SpreadsheetML,
//! PresentationML, DrawingML). It builds on `quick-xml` for low-level
//! parsing/writing; all logic specific to Office (schemas, elements,
//! specific attributes) lives in the higher-level crates (`opc`,
//! `word-ooxml`, `excel-ooxml`, etc.).

mod error;
mod reader;
mod writer;

pub use error::{Error, Result};
pub use reader::{Reader, decode_attribute_value, decode_general_ref, decode_text};
pub use writer::Writer;

/// Re-exported XML event types from `quick-xml`, forming the generic XML
/// vocabulary used throughout this crate's public API (start/end/empty
/// elements, text, comments, etc.). These are not specific to any Office
/// XML vocabulary.
pub use quick_xml::events::{BytesDecl, BytesEnd, BytesRef, BytesStart, BytesText, Event};