Parse Doxygen XML files
The idea behind DoxygenXML is to parse the directory with the XML produced by Doxygen and give an iterator over the objects.
for element in DoxygenXML(path_to_xml) {
match element {
Namespace(name) => println!("Found a namespace named {name}"),
Class(class) => {
let name = class.name;
println!("Found a classed named {name}");
}
...
}
}