<ДатаВыгрузки
xmlns="http://www.tc.org"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Дата="2015-04-09T17:35:08">
tree = ET.parse(FILE)
xml_catalog = tree.getroot()
url = 'http://export.yandex.ru/weather-ng/forecasts/23.xml'
destination = url.rsplit('/',1)[1]
urlretrieve(url, 'weather/' + destination)
f1 = open('weather/23.xml', 'r', encoding="utf-8")
f2 = open('weather/23+.xml', 'w', encoding="utf-8")
for line in f1:
line = line.replace('xmlns="http://weather.yandex.ru/forecast"', '')
f2.write(line)