pub fn parse_user_native_file(xml_path: &Path) -> Result<UserNative, Error>Expand description
Parses a Prelude native user XML file into a UserNative stuct.
ยงExample
use std::path::Path;
use prelude_xml_parser::parse_user_native_file;
let file_path = Path::new("tests/assets/user_native.xml");
let native = parse_user_native_file(&file_path).unwrap();
assert!(native.users.len() >= 1, "Vector length is less than 1");