def startElement(self, name, atts):
        "Handle an event for the beginning of an element."
        try:
            klass = self._get_class(name)
        except __HOLE__:
            raise POM.ValidationError("Undefined element tag: " + name)
        attr = {}
        for name, value in atts.items():
            attr[keyword_identifier(POM.normalize_unicode(name))] = POM.unescape(value)
        obj = klass(**attr)
        self.stack.append(obj)
dataset/ETHPy150Open kdart/pycopia/XML/pycopia/XML/POMparse.py/ContentHandler.startElement