I have an xml, which has a lot of different nodes with the different tags, but the same attribute. Is it possible to find all these nodes?
I know, that it is possible to find all nodes by attribute, if they all have the same tag:
root.findall(".//tag[@attrib]")
but in my case they all have different tags. Something like this is not working:
root.findall(".//[@attrib]")