pub fn parse(markup: &str) -> Result<Tree<XmlElement>, String>Expand description
Parses XML markup into an element tree.
The root of the returned tree is the document element (the first element of
the document). Everything before it — the XML declaration <?xml ...?>,
comments, and the <!DOCTYPE ...> prolog — is skipped. Returns an error
when the markup is not well-formed.