pub fn parse_document(text: &str) -> Result<Element, XmlError>
Parses text into its root element, wrapped in a document node (so the root itself is found by name).
text