>
> mylist = {}
>
> mylist['Result'] = 'OK'
> for i in data:
> i.name = {'name':i.name,'age':i.age}
> mylist['Records'].append(i.name)
>Is that the exact code? It looks like you attempt to .append() to mylist['Records'] without every creating the mylist['Records'] list -- doesn't that give you a KeyError? Anthony --

