I have this code :

```
doc = parse('sites.xml')
sites = []
for item in doc.documentElement.getElementsByTagName("site"):
    try:
        site = Site()
        site.name = item.getElementsByTagName("name")[0].childNodes[0].nodeValue
        site.start = item.getElementsByTagName("start")[0].childNodes[0].nodeValue
        site.end = item.getElementsByTagName("end")[0].childNodes[0].nodeValue
        site.Id = item.getElementsByTagName("id")[0].childNodes[0].nodeValue
        sites.append(site)
    except:
        pass
for l in range(len(sites)):
    print(site.name + ' ' + site.start + ' ' + site.end + ' ' + site.Id)

```

I got the last line repeated on output. I don't know why the value of `site` has changed. Normally at every iteration I create a new reference.