use rust_sbml::ModelRaw; fn main() { let example = r#" "#; let res = ModelRaw::parse(&example).unwrap(); println!("{:?}", res); std::fs::write("from_memory.xml", res.to_string().unwrap()).unwrap(); }