I wrote a code in VBA for Excel that store in a cell data from a XML like this (https://nominatim.openstreetmap.org/reverse?lat=45.387838002000002&lon=7.6777959990000104) part of the code is:
'carichiamo la risposta
xDoc.Load (url)
'prendiamo le componenti della risposta
Set postcode = xDoc.SelectSingleNode("/reversegeocode/addressparts/postcode")
Now I'm trying to translate that function to PyQGIS. What I want is to store the same info to specific field but I can't find a way to get information from this XML.
lxml