def __init__(self, element):
        # No call to super(), the type object will process that.
        self.name           = testXMLAttribute(element, "name")
        try:
            self.content    = eval(element[-1].tag.split("}")[-1])(element[-1])
        except __HOLE__:
            self.content    = None
        except BaseException:
            raise

    # Revert to the content if attribute does not exists
dataset/ETHPy150Open geopython/OWSLib/owslib/swe/common.py/NamedObject.__init__