Module xml::writer [] [src]

Contains high-level interface for an events-based XML emitter.

The most important type in this module is EventWriter which allows writing an XML document to some output stream.

Reexports

pub use self::events::XmlEvent;

Modules

events

Contains XmlEvent datatype, instances of which are consumed by the writer.

Structs

EmitterConfig

Emitter configuration structure.

EventWriter

A wrapper around an std::io::Write instance which emits XML document according to provided events.

Enums

Error

An error which may be returned by XmlWriter when writing XML events.

Type Definitions

Result

A result type yielded by XmlWriter.