Function domxml_from_file

Source
pub fn domxml_from_file<I: AsRef<Path>>(
    file_path: I,
    component_map: &mut XmlComponentMap,
) -> DomXml
Expand description

Loads, parses and builds a DOM from an XML file

Warning: The file is reloaded from disk on every function call - do not use this in release builds! This function deliberately never fails: In an error case, the error gets rendered as a NodeType::Label.