code: def match_nth_tag_type(self, el, child):
          
  
          return(
              (self.get_tag(child) == self.get_tag(el)) and
              (self.get_tag_ns(child) == self.get_tag_ns(el))
          )
docs: Match tag type for `nth` matches.