liquidacion_trimestral_uri = 'https://236ws.dpteruel.es/transparencia/dpteruel/wp-content/uploads/sites/3/2021/05/P4400000H-2021-LIQUIDACION-TRIMESTRAL-PRESUPUESTOS-1T.xml'
ns = {
'': 'http://www.xbrl.org/2003/instance',
'xsi': 'http://www.w3.org/2001/XMLSchema-instance',
'trimloc2017': 'http://www.meh.es/taxonomias/trimloc2017',
'trimloc2017-econ-ingr': 'http://www.meh.es/taxonomias/trimloc2017-econ-ingr',
'trimloc2017-resultp': 'http://www.meh.es/taxonomias/trimloc2017-resultp',
'trimloc2017-exist': 'http://www.meh.es/taxonomias/trimloc2017-exist',
'xbrldt': 'http://xbrl.org/2005/xbrldt',
'trimloc2017-ref': 'http://www.meh.es/taxonomias/trimloc2017-ref',
'trimloc2017-econ-gast-cuentas': 'http://www.meh.es/taxonomias/trimloc2017-econ-gast-cuentas',
'trimloc2017-prog-cuentas-econ-cruzadas': 'http://www.meh.es/taxonomias/trimloc2017-prog-cuentas-econ-cruzadas',
'link': 'http://www.xbrl.org/2003/linkbase',
'trimloc2017-econ-ingr-cuentas': 'http://www.meh.es/taxonomias/trimloc2017-econ-ingr-cuentas',
'trimloc2017-econ-gast': 'http://www.meh.es/taxonomias/trimloc2017-econ-gast',
'xlink': 'http://www.w3.org/1999/xlink',
'trimloc2017-prog': 'http://www.meh.es/taxonomias/trimloc2017-prog',
'iso4217': 'http://www.xbrl.org/2003/iso4217',
'trimloc2017-prog-cuentas': 'http://www.meh.es/taxonomias/trimloc2017-prog-cuentas',
'trimloc2017-anexo5': 'http://www.meh.es/taxonomias/trimloc2017-anexo5',
'trimloc2017-remt': 'http://www.meh.es/taxonomias/trimloc2017-remt',
'trimloc2017-anexo4': 'http://www.meh.es/taxonomias/trimloc2017-anexo4',
'trimloc2017-anexo3': 'http://www.meh.es/taxonomias/trimloc2017-anexo3',
'xbrldi': 'http://xbrl.org/2006/xbrldi',
'trimloc2017-anexo2': 'http://www.meh.es/taxonomias/trimloc2017-anexo2',
'trimloc2017-econ-ingr-importes': 'http://www.meh.es/taxonomias/trimloc2017-econ-ingr-importes',
'trimloc2017-econ-gast-importes': 'http://www.meh.es/taxonomias/trimloc2017-econ-gast-importes',
'trimloc2017-anexo1': 'http://www.meh.es/taxonomias/trimloc2017-anexo1',
'xbrli': 'http://www.xbrl.org/2003/instance'
}
r = requests.get(liquidacion_trimestral_uri)
tree = ET.ElementTree(ET.fromstring(r.text))
root = tree.getroot()