code: def parse_keybinding(parser, event, node): #pylint: disable=unused-argument
      
  
      name = _get_required_attribute(node, 'NAME')
  
      (next_event, next_node) = six.next(parser)
  
      if _is_start(next_event, next_node, 'KEYVALUE'):
          keyvalue = parse_keyvalue(parser, next_event, next_node)
          result = (name, keyvalue)
  
      elif _is_start(next_event, next_node, 'VALUE.REFERENCE'):
          value_reference = parse_value_reference(parser,
                                                  next_event, next_node)
          result = (name, value_reference)
  
      else:
          raise ParseError('Expecting KEYVALUE or VALUE.REFERENCE element')
  
      _get_end_event(parser, 'KEYBINDING')
  
      return result
docs: Parse CIM/XML KEYBINDING element returning name, value tuple