Simple boolean test to see if we match the element name.
        Parameters:
            elt -- the DOM element being parsed

def name_match(self, elt):
        '''Simple boolean test to see if we match the element name.
        Parameters:
            elt -- the DOM element being parsed
        '''
        return self.pname == elt.localName and \
                    self.nspname in [None, '', elt.namespaceURI]