[][src]Module xml_dom::parser

Provides a basic parser from text to DOM using the quick-xml crate.

Example

use xml_dom::level2::parser::read_xml;

let dom = read_xml(r#"<?xml version="1.0"?> <xml/>"#);
assert!(dom.is_ok);

Enums

Error

Errors constructing a DOM from text.

Functions

read_xml

Parse the provided string into a DOM structure.

Type Definitions

Result

Result type for public function(s).