Skip to main content

scan_xml

Function scan_xml 

Source
pub fn scan_xml(xml: &str, sink: &mut impl XmlSink) -> Result<bool, XmlError>
Expand description

Scans xml, reporting the root element and everything inside it to sink. Returns false when the document has no root element. Content after the root element is ignored.