https://github.com/newca12/dictionary-builder
Caveat: most implementations need a DOM
Without DOM: https://stackoverflow.com/questions/7215931/reading-huge-xml-file-using-stax-and-xpath#comment64010759_7216021
~ XML vs XSD https://stackoverflow.com/questions/1065600/xsd-generator-from-several-xmls https://github.com/relaxng/jing-trang https://github.com/media-io/xml-schema
https://github.com/media-io/yaserde (~ xml-rs is slow)
https://github.com/RazrFalcon/roxmltree (lightweight read-pnly DOM) https://github.com/adamreichold/serde-roxmltree https://github.com/rreverser/serde-xml-rs (~ xml-rs is slow) https://lib.rs/crates/xmlserde (quick-xml)
Caveat: low level