Skip to main content

parse_event_xml

Function parse_event_xml 

Source
pub fn parse_event_xml(xml: &str, default_channel: &str) -> Result<Event>
Expand description

Parse a RenderedXml Event blob into an Event.

This is a hand-rolled quick-xml pass instead of pulling in serde-xml-rs — the XML shape is stable and small (<Event><System>…</System><EventData>…</EventData></Event>).