nextcloud_dav/xml/mod.rs
1//! Hand-written XML support for the small subset WebDAV needs.
2//!
3//! Split by concern: [`escape`] handles character data, [`writer`] assembles
4//! elements, and [`response`] locates them and exposes the lookups the
5//! decoders call. [`Element`] is a located element and [`MissingElement`] the
6//! error raised when a required one is absent.
7//!
8//! There is no general XML parser here; the limits of the reader are spelled
9//! out in [`response`].
10
11mod element;
12mod missing;
13mod scanner;
14
15pub mod escape;
16pub mod response;
17pub mod writer;
18
19pub use element::Element;
20pub use missing::MissingElement;
21pub use response::{elements, first_element, has_element, require_element, text_of};
22pub use writer::XmlWriter;