I have the following code https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ee5a1073b2bba60abff0d9db27a14e80 that can decode the output that you get when exporting from mysql as xml.
The problem is this can have very large input so would like to be able to read each in one by one. The docs don't have any examples on how to use this either. https://docs.rs/serde-xml-rs/0.4.0/serde_xml_rs/struct.EventReader.html
Does anyone have example code for how they have done this ?