I need to read xml attributes coming in response data. I am using Django rest 
framework.

requested XML :  <myTag><xyz verified="N" product="ABC" 
startDate="02-02-2014"/></myTag>

Response I am getting: {'xyz': None}

I am using : 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.XMLParser') in 
my setting.py file
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to