code: private function normalizeElementName($name)
      {
          $nsElement = explode('@', $name);
  
          if (count($nsElement) > 1) {
              array_shift($nsElement);
              return $nsElement[0];
          } else {
              return $name;
          }
      }
docs: Handles element names that may have namespaces in them.
  
  @param string $name Element name.
  
  @return string The element name stripped of any namespaces.