def xml_view(request):
    xmlData = """<?xml version="1.0" encoding="utf-8"?> 
    <django-objects version="1.0">
    <object model="task.task" pk="4">
    <field name="name" type="CharField">foo</field>
    <field name="mission_id" type="IntegerField">1</field>
    <field name="parent_task_id" type="IntegerField">20</field>
    </object>
    <object model="task.task" pk="7">
    <field name="name" type="CharField">bar</field>
    <field name="mission_id" type="IntegerField">2</field>
    <field name="parent_task_id" type="IntegerField">10</field>
    </object></django-objects>"""
xml = ET.fromstring(xmlData)
fields = []
for obj in xml.iter('object'):
    fields.append({'name': obj.find("field[@name='name']").text,
        'mission_id': obj.find("field[@name='mission_id']").text,
        'parent_task_id': obj.find("field[@name='parent_task_id']").text})
t = loader.get_template('your_app/xml_view.html')
c = Context({'elem_list': fields})
return HttpResponse(t.render(c))
Translate xml string to Python list