pub fn from_xml(xml: &str, config: &FromXmlConfig) -> Result<Document, String>
Convert XML string to HEDL Document