Module xml::writer

source ·
Expand description

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.



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


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


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

Type Aliases§

  • A result type yielded by XmlWriter.