Is there any way to create xml output that given a multiple OrderedDict like this
data = OrderedDict([
...
('addresses', OrderedDict([
('address', OrderedDict([
('city', 'Washington')
])),
('address', OrderedDict([
('city', 'Boston')
]))
]))
])
When i try this xmltodict covers last address not both.