  		
          `data` will simply be a string representing the body of the request.
          `files` will always be `None`.
          """
          data = {}
          tree = ET.parse(stream)
          data = self._xml_convert(tree.getroot())
          	
          return (data, None)
  		
 
</s> remove                 if children[0].tag == "resource":
                    data = []
                    for child in children:
                       data.append(self._xml_convert(child))                       
                else:    
                    data = {}
                    for child in children:
                       data[child.tag] = self._xml_convert(child)
 </s> add                 data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child) </s> remove             if element.tag == "resource":
 </s> add             # if the fist child tag is list-item means all children are list-item
            if children[0].tag == "list-item":
  		
          `data` will simply be a string representing the body of the request.
          `files` will always be `None`.
          """

          tree = ET.parse(stream)
          data = self._xml_convert(tree.getroot())
          	
          return (data, None)
  		
keep keep keep keep replace keep keep keep keep keep
 correct complex data xml parsing 
djangorestframework/parsers.py