Function parse_xml

Source
fn parse_xml(src: &str) -> Result<El, String>
Expand description

Minimal well-formed-ish XML reader: elements, attributes, text, CDATA; comments / PIs / DOCTYPE are skipped. Mismatched or missing close tags unwind instead of failing — exported timelines are machine written, but a truncated one should still give back what it has. Nesting is capped at MAX_XML_DEPTH.