Function sxd_document::parser::parse [] [src]

pub fn parse(xml: &str) -> Result<Package, (usize, Vec<Error>)>

Parses a string into a DOM. On failure, the location of the parsing failure and all possible failures will be returned.