A method which is called by the SAX parser when a new tag is encountered
        :param name: name of the tag
        :param attrs: the tag's attributes
        :return: none, side effect of modifying bits of the current class

def StartTag(self, name, attrs):
        '''
        A method which is called by the SAX parser when a new tag is encountered
        :param name: name of the tag
        :param attrs: the tag's attributes
        :return: none, side effect of modifying bits of the current class
        '''
        if name not in self.excluded:
            if name in self.structure.keys():
                self.handler = self.structure[name]

            self.tags.append(name)
            if attrs is not None:
                self.attribs[name] = attrs
            self.isDynamic = CheckDynamics(name)
            if self.isDynamic and "dynamics" in self.tags:
                self.handler(
                    self.tags, self.attribs, self.chars, self.piece, self.data)
            if name in self.closed_tags and self.handler is not None:
                self.handler(
                    self.tags, self.attribs, self.chars, self.piece, self.data)