docs: def parse_at_element(
              self,
              element,  # type: ET.Element
              state  # type: _ProcessorState
      ):
          # type: (...) -> Any
          """Parse the primitive value at the XML element."""
          if self._attribute:
              parsed_value = self._parse_attribute(element, self._attribute, state)
          else:
              parsed_value = self._parser_func(element.text, state)
  
          return _hooks_apply_after_parse(self._hooks, state, parsed_value)