1👍
✅
for obj in serializers.deserialize("xml", data):
do_something_with(obj)
As mentioned in the docs, so you just read your xml and put in the “data” variable.
the way you read your xml depends on your implementation.
Source:stackexchange.com