                  data = []
                  for child in children:
                      data.append(self._xml_convert(child))
              else:    
                  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)
  
              return data
          
      def _type_convert(self, value):
          """
 
</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": </s> remove         data = {}
 </s> add 
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                  data = []
                  for child in children:
                      data.append(self._xml_convert(child))
              else:    
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
                data = {}
                for child in children:
                    data[child.tag] = self._xml_convert(child)
  
              return data
          
      def _type_convert(self, value):
          """
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
 correct complex data xml parsing 
djangorestframework/parsers.py