def get_attribute(self, name):
        try:
            xmlattr = self.__class__.ATTRIBUTES[name]
        except KeyError:
            try:
                xmlattr = self.__class__.KWATTRIBUTES[name]
            except KeyError:
                return None
        try:
            return self.__dict__["_attribs"][xmlattr.name].value
        except __HOLE__:
            # might be implied, fixed, or enum...
            if xmlattr.a_decl in (FIXED, IMPLIED, DEFAULT):
                return xmlattr.default or ""
        return None
dataset/ETHPy150Open kdart/pycopia/XML/pycopia/XML/POM.py/ElementNode.get_attribute