docs: def attrib_to_dict(element, *args, **kwargs):
      """For an ElementTree ``element`` extract specified attributes. If an attribute does not exists, its value will be
      ``None``.
  
      attrib_to_dict(element, 'attr_a', 'attr_b') -> {'attr_a': 'value', 'attr_a': 'value'}
  
      Mapping between xml attributes and dictionary keys is done with kwargs.
      attrib_to_dict(element, my_new_name = 'xml_atribute_name', ..)
      """
      if len(args) > 0:
          return {key: element.get(key) for key in args}
  
      if len(kwargs) > 0:
          return {new_key: element.get(old_key) for new_key, old_key in viewitems(kwargs)}
  
      return element.attrib