Docs.rs
  • xml-rs-0.8.25
    • xml-rs 0.8.25
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • netvl
    • tomaka
    • kornelski
    • Dependencies
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate xml

xml0.8.25

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Enums

Crates

  • xml

Crate xml

Source
Expand description

This crate currently provides an almost XML 1.0/1.1-compliant pull parser.

Please note that functions of this parser may panic. If a panic could cause a Denial Of Service in your codebase, you’re responsible for wrapping access to this library in catch_unwind.

Re-exports§

pub use crate::reader::EventReader;
pub use crate::reader::ParserConfig;
pub use crate::writer::EmitterConfig;
pub use crate::writer::EventWriter;

Modules§

attribute
Contains XML attributes manipulation types and functions.
common
Contains common types and functions used throughout the library.
escape
Contains functions for performing XML special characters escaping.
name
Contains XML qualified names manipulation types and functions.
namespace
Contains namespace manipulation types and functions.
reader
Contains high-level interface for a pull-based XML parser.
writer
Contains high-level interface for an events-based XML emitter.

Enums§

Encoding
Character encoding used for parsing

Results

Settings
Help
    enum
    xml::Encoding
    Character encoding used for parsing
    struct field
    xml::reader::XmlEvent::StartDocument::encoding
    XML document encoding.
    struct field
    xml::writer::events::XmlEvent::StartDocument::encoding
    XML document encoding.
    method
    xml::reader::ParserConfig::override_encoding
    Set if you got one in the HTTP header (see content_type)
    method
    xml::reader::ParserConfig2::override_encoding
    Set if you got one in the HTTP header
    struct field
    xml::reader::ParserConfig2::override_encoding
    Use this encoding as the default. Necessary for UTF-16 …
    method
    xml::reader::ParserConfig::ignore_invalid_encoding_declarations
    Allow <?xml encoding="bogus"?>
    method
    xml::reader::ParserConfig2::ignore_invalid_encoding_declarations
    Allow <?xml encoding="bogus"?>
    struct field
    xml::reader::ParserConfig2::ignore_invalid_encoding_declarations
    Allow <?xml encoding="…"> to contain unsupported …
    method
    xml::Encoding::clone
    &Encoding -> Encoding
    method
    xml::reader::ParserConfig::override_encoding
    ParserConfig, Option<Encoding> -> ParserConfig2
    Set if you got one in the HTTP header (see content_type)
    method
    xml::reader::ParserConfig2::override_encoding
    ParserConfig2, Option<Encoding> -> ParserConfig2
    Set if you got one in the HTTP header
    method
    xml::Encoding::eq
    &Encoding, &Encoding -> bool
    method
    xml::Encoding::fmt
    &Encoding, &mut Formatter -> Result
    method
    xml::Encoding::from_str
    &str -> Result<Encoding, FromStr::Err>
    method
    xml::Encoding::clone
    &Encoding -> Encoding