[][src]Function xml_dom::parser::read_xml

pub fn read_xml(xml: &str) -> Result<RefNode>

Parse the provided string into a DOM structure; if the result is OK, the result returned can be safely assumed to be a Document node.