Я думаю, что нужно изменить:
record = child.attrib.values()
на:
record = child[0].attrib.values()
для выбора только первых значений.
Список решений для решения:
all_records = [child[0].attrib.values() for child in root ]
Если возможно, некоторые пустые Hit
элементы:
all_records = []
for child in root:
if len(child) > 0:
record = child[0].attrib.values()
all_records.append(record)
Решение для понимания списка:
all_records = [child[0].attrib.values() for child in root if len(child) > 0]