For lightweight python XML to dict, I’d say stick with xmltodict. It’s not perfect, but it’s the closest thing to "just works."
If you need more control, `defusedxml` + `ElementTree` is safer for sketchy XML sources.
Also, watch out for CDATA sections—some libs choke on those.
If you need more control, `defusedxml` + `ElementTree` is safer for sketchy XML sources.
Also, watch out for CDATA sections—some libs choke on those.
