pub fn xml_to_yaml(xml: &str) -> Result<String, Box<dyn Error>>Expand description
Converts XML to YAML, extracting the tabular array if present.
ยงExamples
use sheeter_engine::xml_to_yaml;
let yaml = xml_to_yaml("<root><item><a>1</a></item></root>").unwrap();
assert!(yaml.contains("a:"));