parameters: (self, node)
docstring: Parses an XML response node from Facebook.
docstring_summary: Parses an XML response node from Facebook.
docstring_tokens: Parses an XML response node from Facebook .
function: def _parse_response_item(self, node):
          """Parses an XML response node from Facebook."""
          if node.nodeType == node.DOCUMENT_NODE and \
              node.childNodes[0].hasAttributes() and \
              node.childNodes[0].hasAttribute('list') and \
              node.childNodes[0].getAttribute('list') == "true":
              return {node.childNodes[0].nodeName: self._parse_response_list(node.childNodes[0])}
          elif node.nodeType == node.ELEMENT_NODE and \
              node.hasAttributes() and \
              node.hasAttribute('list') and \
              node.getAttribute('list')=="true":
              return self._parse_response_list(node)
          elif len(filter(lambda x: x.nodeType == x.ELEMENT_NODE, node.childNodes)) > 0:
              return self._parse_response_dict(node)
          else:
              return ''.join(node.data for node in node.childNodes if node.nodeType == node.TEXT_NODE)
function_tokens: def _parse_response_item ( self , node ) : if node . nodeType == node . DOCUMENT_NODE and node . childNodes [ 0 ] . hasAttributes ( ) and node . childNodes [ 0 ] . hasAttribute ( 'list' ) and node . childNodes [ 0 ] . getAttribute ( 'list' ) == "true" : return { node . childNodes [ 0 ] . nodeName : self . _parse_response_list ( node . childNodes [ 0 ] ) } elif node . nodeType == node . ELEMENT_NODE and node . hasAttributes ( ) and node . hasAttribute ( 'list' ) and node . getAttribute ( 'list' ) == "true" : return self . _parse_response_list ( node ) elif len ( filter ( lambda x : x . nodeType == x . ELEMENT_NODE , node . childNodes ) ) > 0 : return self . _parse_response_dict ( node ) else : return '' . join ( node . data for node in node . childNodes if node . nodeType == node . TEXT_NODE )